Skip to content

Commit c84c69e

Browse files
committed
build(bazel): boringssl requires C++17
1 parent be3f7d5 commit c84c69e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/bazel-ci.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macos-latest, ubuntu-latest, windows-latest]
11+
include:
12+
- os: macOS-latest
13+
bazel_args: "--cxxopt=-std=c++17"
14+
- os: ubuntu-latest
15+
bazel_args: "--cxxopt=-std=c++17"
16+
- os: windows-latest
17+
bazel_args: "--cxxopt=/std:c++17"
1118
steps:
1219
- name: Checkout source
1320
uses: actions/checkout@v4
@@ -26,18 +33,18 @@ jobs:
2633

2734
- name: Build with SSL
2835
if: runner.os != 'macOS'
29-
run: bazel build --config=ssl //...
36+
run: bazel build ${{ matrix.bazel_args }} --config=ssl //...
3037

3138
- name: Test with SSL
3239
if: runner.os != 'macOS'
33-
run: bazel test --config=ssl --test_output=all //...
40+
run: bazel test ${{ matrix.bazel_args }} --config=ssl --test_output=all //...
3441

3542
- name: Build
36-
run: bazel build //...
43+
run: bazel build ${{ matrix.bazel_args }} //...
3744

3845
- name: Test
39-
run: bazel test --test_output=all //...
46+
run: bazel test ${{ matrix.bazel_args }} --test_output=all //...
4047

4148
- name: Scraping Test
4249
if: runner.os == 'macOS'
43-
run: bazel test --test_output=all //pull/tests/integration:scrape-test
50+
run: bazel test ${{ matrix.bazel_args }} --test_output=all //pull/tests/integration:scrape-test

0 commit comments

Comments
 (0)