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:
2828 - name : Install CMake
2929 uses : lukka/get-cmake@latest
3030
31- - name : Install LLVM and Clang
31+ - name : Install LLVM and Clang 17
3232 uses : KyleMayes/install-llvm-action@v1
3333 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' }}
3737
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'}}
4052
4153 - name : Build
4254 run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments