Skip to content

Commit 37820cd

Browse files
committed
Further tune test matrix
1 parent 5da0829 commit 37820cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
compiler: [native, llvm, gcc]
19+
compiler: [native, llvm-18, gcc-14]
2020
os: [ubuntu-latest, windows-latest, macos-13, macos-15]
2121
exclude:
2222
- os: windows-latest
23-
compiler: llvm
24-
- os: ubuntu-latest
25-
compiler: gcc # gcc is already the default
23+
compiler: llvm-18
24+
- os: macos-13
25+
compiler: native # AppleClang is too old
2626

2727
steps:
2828
- name: Checkout code
@@ -32,7 +32,7 @@ jobs:
3232
uses: lukka/get-cmake@latest
3333

3434
- name: Install Clang
35-
if: ${{ matrix.compiler == 'llvm' && (matrix.os == 'macos-13' || matrix.os == 'macos-15') }}
35+
if: ${{ matrix.compiler == 'llvm-18' && (matrix.os == 'macos-13' || matrix.os == 'macos-15') }}
3636
run: |
3737
brew install llvm@18
3838
brew link --force --overwrite llvm@18
@@ -43,13 +43,13 @@ jobs:
4343
run: |
4444
echo "CC=clang-18" >> $GITHUB_ENV
4545
echo "CXX=clang++-18" >> $GITHUB_ENV
46-
if: ${{ matrix.compiler == 'llvm' && (matrix.os != 'macos-13' && matrix.os != 'macos-15') }}
46+
if: ${{ matrix.compiler == 'llvm-18' && (matrix.os != 'macos-13' && matrix.os != 'macos-15') }}
4747

4848
- name: Use GCC
4949
run: |
5050
echo "CC=gcc-14" >> $GITHUB_ENV
5151
echo "CXX=g++-14" >> $GITHUB_ENV
52-
if: ${{ matrix.compiler == 'gcc' && (matrix.os != 'ubuntu-latest') }}
52+
if: ${{ matrix.compiler == 'gcc-14' }}
5353

5454
- name: Configure
5555
run: cmake -B build -DCPPSPEC_BUILD_TESTS=YES

0 commit comments

Comments
 (0)