File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,19 @@ jobs:
28
28
- name : Install CMake
29
29
uses : lukka/get-cmake@latest
30
30
31
+ - name : Install LLVM and Clang
32
+ uses : KyleMayes/install-llvm-action@v2
33
+ with :
34
+ version : " 20"
35
+ env : true
36
+ if : ${{ matrix.compiler == 'llvm'}}
37
+
31
38
- name : Configure for native compiler
32
39
run : cmake -B build -DCPPSPEC_BUILD_TESTS=YES
33
40
if : ${{ matrix.compiler == 'native'}}
34
41
35
42
- name : Configure for non-native compiler
36
- run : cmake -B build -G Ninja -DCPPSPEC_BUILD_TESTS=YES -DCMAKE_C_COMPILER="clang " -DCMAKE_CXX_COMPILER="clang++ "
43
+ run : cmake -B build -G Ninja -DCPPSPEC_BUILD_TESTS=YES -DCMAKE_C_COMPILER="$CC " -DCMAKE_CXX_COMPILER="$CXX "
37
44
if : ${{ matrix.compiler != 'native'}}
38
45
39
46
- name : Build
You can’t perform that action at this time.
0 commit comments