File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -28,30 +28,16 @@ jobs:
28
28
- name : Install CMake
29
29
uses : lukka/get-cmake@latest
30
30
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
-
45
31
- name : Configure for native compiler
46
32
run : cmake -B build -DCPPSPEC_BUILD_TESTS=YES
47
33
if : ${{ matrix.compiler == 'native'}}
48
34
49
35
- 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++ "
51
37
if : ${{ matrix.compiler != 'native'}}
52
38
53
39
- name : Build
54
40
run : cmake --build build --config Release
55
41
56
42
- name : Test
57
- run : ctest --test-dir build --build-config Release
43
+ run : ctest --test-dir build --build-config Release
You can’t perform that action at this time.
0 commit comments