Skip to content

Commit 08ad0f7

Browse files
authored
Add workaround for latest green commit (#46)
See bazelbuild/bazel#25145 (comment)
1 parent cb821a7 commit 08ad0f7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ jobs:
1717
- macos-15
1818
- ubuntu-latest
1919
bazel:
20-
- latest
21-
- last_rc
22-
- last_green
20+
- version: latest
21+
extra_info_flags: ""
22+
- version: last_rc
23+
extra_info_flags: ""
24+
- version: last_green
25+
# https://github.com/bazelbuild/bazel/issues/25145
26+
extra_info_flags: "--noincompatible_target_cpu_from_platform"
2327
fail-fast: false
2428
runs-on: ${{ matrix.os }}
29+
name: test (${{ matrix.os }}, ${{ matrix.bazel.version }})
2530
env:
26-
USE_BAZEL_VERSION: ${{ matrix.bazel }}
31+
USE_BAZEL_VERSION: ${{ matrix.bazel.version }}
2732
steps:
2833
- uses: actions/checkout@v4
2934
- name: Bazel Info
3035
run: |
3136
bazel version
32-
bazel info
37+
bazel info ${{ matrix.bazel.extra_info_flags }}
3338
- run: bazel test //...

0 commit comments

Comments
 (0)