Skip to content

Commit

Permalink
Remove support for Bazel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Dec 2, 2024
1 parent 51d22e4 commit 423f457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ common:bazel7 --config=common

common:bazel6 --config=common

common:bazel5 --config=common

common:common --noverbose_failures

# Remote Cache Configuration
Expand Down
16 changes: 2 additions & 14 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
bazel_mode: [workspace, module]
version: ["5.4.1", "6.4.0", "7.0.0", "8.0.0rc6"]
include:
# Bazel 5.4.1 does not find Visual Studio on windows-2022. So, we
# test it on windows-2019.
- version: 5.4.1
bazel_mode: workspace
os: windows-2019
exclude:
- version: 5.4.1
bazel_mode: module
# Bazel 5.4.1 does not find Visual Studio on windows-2022.
- version: 5.4.1
os: windows-latest
version: ["6.4.0", "7.0.0", "8.0.0rc6"]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -62,7 +50,7 @@ jobs:
uses: tweag/write-bazelrc@v0
if: ${{ matrix.bazel_mode == 'module' }}
with:
content: build --experimental_enable_bzlmod
content: build --enable_bzlmod
- name: Configure the Bazel version
run: |
echo "USE_BAZEL_VERSION=${{ matrix.version }}" > .bazeliskrc
Expand Down

0 comments on commit 423f457

Please sign in to comment.