Skip to content

Commit 5c04495

Browse files
committed
Remove LLVM specific versions
1 parent 41cce2b commit 5c04495

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,16 @@ jobs:
2828
- name: Install CMake
2929
uses: lukka/get-cmake@latest
3030

31-
- name: Install LLVM and Clang 17
32-
uses: KyleMayes/install-llvm-action@v1
33-
with:
34-
version: "17"
35-
env: true
36-
if: ${{ matrix.compiler == 'llvm' && matrix.os != 'macos-latest' }}
37-
38-
- name: Install LLVM and Clang 15
39-
uses: KyleMayes/install-llvm-action@v1
40-
with:
41-
version: "15.0.7"
42-
env: true
43-
if: ${{ matrix.compiler == 'llvm' && matrix.os == 'macos-latest' }}
44-
4531
- name: Configure for native compiler
4632
run: cmake -B build -DCPPSPEC_BUILD_TESTS=YES
4733
if: ${{ matrix.compiler == 'native'}}
4834

4935
- name: Configure for non-native compiler
50-
run: cmake -B build -G Ninja -DCPPSPEC_BUILD_TESTS=YES -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX"
36+
run: cmake -B build -G Ninja -DCPPSPEC_BUILD_TESTS=YES -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++"
5137
if: ${{ matrix.compiler != 'native'}}
5238

5339
- name: Build
5440
run: cmake --build build --config Release
5541

5642
- name: Test
57-
run: ctest --test-dir build --build-config Release
43+
run: ctest --test-dir build --build-config Release

0 commit comments

Comments
 (0)