Skip to content

Commit c547d77

Browse files
committed
CI Maintenence:
* Force the use of Bazel 8.5.1 to workaround a Bazel issue where some of our implicit dependencies like (@bazel_tools and @rules_swift) are mutually incompatible in Bazel 9.0.0. google/flatbuffers#8920 eventually fixes this. * Replace --action_env with --repo_env to correctly configure the compiler in Bazel 9.0.0
1 parent 24f284d commit c547d77

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
env:
88
BAZEL_CXXOPTS: -std=c++17
9+
USE_BAZEL_VERSION: 8.5.1
910

1011
jobs:
1112
Linux-GCC:
@@ -57,7 +58,6 @@ jobs:
5758
- name: Tests
5859
run: >
5960
bazel test ...
60-
--action_env=CC=clang
6161
--build_tag_filters=-fuzztest
6262
--copt=-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1
6363
--copt=-Werror
@@ -96,6 +96,7 @@ jobs:
9696
--cxxopt=-Wno-undef
9797
--features=external_include_paths
9898
--keep_going
99+
--repo_env=CC=clang
99100
--show_timestamps
100101
--test_env="TZDIR=${GITHUB_WORKSPACE}/testdata/zoneinfo"
101102
--test_output=errors
@@ -114,13 +115,13 @@ jobs:
114115
- name: Fuzz
115116
run: >
116117
bazel --bazelrc=fuzztest.bazelrc test ...
117-
--action_env=CC=clang
118118
--build_tag_filters=fuzztest
119119
--config=fuzztest
120120
--copt=-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1
121121
--define=absl=1
122122
--features=external_include_paths
123123
--keep_going
124+
--repo_env=CC=clang
124125
--show_timestamps
125126
--test_arg=--fuzz_for=30s
126127
--test_env="TZDIR=${GITHUB_WORKSPACE}/testdata/zoneinfo"

0 commit comments

Comments
 (0)