Skip to content

Commit 9513a10

Browse files
committed
feat(ci): check multiple bazel versions
1 parent 2b6afb9 commit 9513a10

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
runner: "codspeed-macro"
101101
- codspeed-mode: "off"
102102
runner: "ubuntu-latest"
103+
bazel-version: ["7.6.2", "8.4.2", "9.0.0-pre.20250921.2"]
103104
runs-on: ${{ matrix.runner }}
104105
steps:
105106
- uses: actions/checkout@v4
@@ -119,6 +120,8 @@ jobs:
119120
- name: Build and run benchmarks
120121
run: |
121122
bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }}
123+
env:
124+
USE_BAZEL_VERSION: ${{ matrix.bazel-version }}
122125

123126
- name: Run the benchmarks
124127
uses: CodSpeedHQ/action@main
@@ -161,8 +164,10 @@ jobs:
161164

162165
windows-bazel-build:
163166
strategy:
167+
fail-fast: false
164168
matrix:
165169
codspeed-mode: ["off", "walltime"]
170+
bazel-version: ["7.6.2", "8.4.2", "9.0.0-pre.20250921.2"]
166171
runs-on: windows-latest
167172
steps:
168173
- uses: actions/checkout@v4
@@ -183,3 +188,5 @@ jobs:
183188
run: |
184189
bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }}
185190
shell: pwsh
191+
env:
192+
USE_BAZEL_VERSION: ${{ matrix.bazel-version }}

0 commit comments

Comments
 (0)