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:
2828 - name : Install CMake
2929 uses : lukka/get-cmake@latest
3030
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+
3138 - name : Configure for native compiler
3239 run : cmake -B build -DCPPSPEC_BUILD_TESTS=YES
3340 if : ${{ matrix.compiler == 'native'}}
3441
3542 - 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 "
3744 if : ${{ matrix.compiler != 'native'}}
3845
3946 - name : Build
You can’t perform that action at this time.
0 commit comments