Skip to content

Commit 8119cb4

Browse files
committed
use gcc for c rather than g++
1 parent 99eaa44 commit 8119cb4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/bazel.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
shared: [ON, OFF]
41-
cxx: [g++-12, clang++-14]
41+
include:
42+
- cc: gcc-12
43+
cxx: g++-12
44+
- cc: clang-14
45+
cxx: clang++-14
4246
runs-on: ubuntu-22.04
4347
steps:
4448
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -50,5 +54,5 @@ jobs:
5054
- name: Build & Test
5155
run: bazel test //...
5256
env:
53-
CC: ${{matrix.cxx}}
57+
CC: ${{matrix.cc}}
5458
CXX: ${{matrix.cxx}}

0 commit comments

Comments
 (0)