[bazel] Update Bazel to 8.4.1 to fix Windows builds (#8258)

- Fix missing epilogue deps
- Compress debug info to save space in CI
This commit is contained in:
Gold856
2025-09-28 01:50:21 -04:00
committed by GitHub
parent ef676aca70
commit 7aabc19977
4 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
8.3.1
8.4.1

View File

@@ -32,7 +32,7 @@ jobs:
token: ${{ secrets.BUILDBUDDY_API_KEY }}
- name: bazel ${{ matrix.action }}
run: bazel --output_user_root=C:\\bazelroot ${{ matrix.action }} -k ... --config=ci ${{ matrix.config }} --verbose_failures
run: bazel ${{ matrix.action }} -k ... --config=ci ${{ matrix.config }} --verbose_failures
shell: bash
build-mac:

View File

@@ -11,6 +11,7 @@ wpilib_java_library(
"//ntcore:ntcore-java",
"//wpiunits:wpiunits-java",
"//wpiutil:wpiutil-java",
"@maven//:us_hebi_quickbuf_quickbuf_runtime",
],
)
@@ -19,6 +20,7 @@ wpilib_java_junit5_test(
srcs = glob(["src/test/java/**/*.java"]),
deps = [
":epilogue-java",
"//wpimath:wpimath-java",
"//wpiutil:wpiutil-java",
"@maven//:us_hebi_quickbuf_quickbuf_runtime",
],

View File

@@ -4,7 +4,7 @@
# Start with configuring the autodetected toolchain.
# The target toolchain should be captured already in its toolchain.
common:linux --repo_env=BAZEL_COPTS="-Wall:-Wextra:-Werror"
common:linux --repo_env=BAZEL_COPTS="-Wall:-Wextra:-Werror:-gz=zlib"
# C++ only
common:linux --repo_env=BAZEL_CXXOPTS="-std=c++20:-Wformat=2:-pedantic:-Wno-psabi:-Wno-unused-parameter:-fPIC:-pthread:-Wno-deprecated-enum-enum-conversion"