Skip to content

Commit e97560d

Browse files
committed
GHA: Back to working gcc14
1 parent 41317a3 commit e97560d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727
- name: Configure & Build
2828
shell: bash
2929
run: |
30-
export CC=/usr/bin/gcc-14
31-
export CXX=/usr/bin/g++-14
32-
gcc -v
33-
g++ -v
30+
if [ "$OSTYPE" = "linux-gnu" ]; then
31+
export CC=/usr/bin/gcc-14
32+
export CXX=/usr/bin/g++-14
33+
gcc -v
34+
g++ -v
35+
fi
3436
3537
cmake -B build_dir -DCMAKE_BUILD_TYPE=${{ matrix.build_config }}
3638
cmake --build build_dir --config ${{ matrix.build_config }}

0 commit comments

Comments
 (0)