File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,27 @@ jobs:
28
28
- name : Install CMake
29
29
uses : lukka/get-cmake@latest
30
30
31
- - name : Install LLVM and Clang
31
+ - name : Install LLVM and Clang 17
32
32
uses : KyleMayes/install-llvm-action@v1
33
33
with :
34
- version : " 15 "
35
- env : ${{ matrix.compiler == 'llvm' }}
36
- if : ${{ matrix.compiler == 'llvm' }}
34
+ version : " 17 "
35
+ env : true
36
+ if : ${{ matrix.compiler == 'llvm' && matrix.os != 'macos-latest' }}
37
37
38
- - name : Configure
39
- run : cmake -Bbuild -DBUILD_TESTS=YES
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
+ - name : Configure for native compiler
46
+ run : cmake -B build -DBUILD_TESTS=YES
47
+ if : ${{ matrix.compiler == 'native'}}
48
+
49
+ - name : Configure for non-native compiler
50
+ run : cmake -B build -G Ninja -DBUILD_TESTS=YES -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX"
51
+ if : ${{ matrix.compiler != 'native'}}
40
52
41
53
- name : Build
42
54
run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments