File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ jobs:
1212 # well on Windows or Mac. You can convert this to a matrix build if you need
1313 # cross-platform coverage.
1414 # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
15- runs-on : ubuntu-22.04
15+ runs-on : ubuntu-latest
1616
1717 steps :
18-
19- - name : Set up Clang
20- uses : egor-tensin/setup-clang@v1
21- with :
22- version : latest
18+ - name : Install newer Clang
19+ run : |
20+ wget https://apt.llvm.org/llvm.sh
21+ chmod +x ./llvm.sh
22+ sudo ./llvm.sh 17
2323
2424 - uses : actions/checkout@v2
2525
@@ -38,15 +38,17 @@ jobs:
3838 # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
3939 # Force libc++ due to https://github.com/actions/runner-images/issues/8659
4040 run : |
41- export LDFLAGS="-fuse-ld=lld"
42- cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_OPENMP=on -DENABLE_PYTHON=off -DENABLE_TBB=off -DCMAKE_CXX_FLAGS="-stdlib=libc++"
41+ export CXX=clang++-17
42+ export CC=clang-17
43+ cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_OPENMP=on -DENABLE_PYTHON=off -DENABLE_TBB=off -DCMAKE_C_COMPILER=clang-17 -DCMAKE_CXX_COMPILER=clang++-17
4344
4445 - name : Build
4546 working-directory : ${{github.workspace}}/build
4647 shell : bash
4748 # Execute the build. You can specify a specific target with "--target <NAME>"
4849 run : |
49- export LDFLAGS="-fuse-ld=lld"
50+ export CXX=clang++-17
51+ export CC=clang-17
5052 cmake --build . --config $BUILD_TYPE --target faunus -j 2
5153
5254 - name : Test
You can’t perform that action at this time.
0 commit comments