Skip to content

Commit

Permalink
[CI] Use clang-19 as a default clang compiler (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
aobolensk authored Jan 5, 2025
1 parent d25e0b7 commit 966c3cd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
sudo apt-get install valgrind
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 18 all
sudo ./llvm.sh 19 all
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -141,14 +141,14 @@ jobs:
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-D CMAKE_BUILD_TYPE=RELEASE
env:
CC: clang-18
CXX: clang++-18
CC: clang-19
CXX: clang++-19
- name: Ninja build
run: |
cmake --build build
env:
CC: clang-18
CXX: clang++-18
CC: clang-19
CXX: clang++-19
- name: Run func tests (MPI, num_proc=2)
run: |
source scripts/run_mpi.sh
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
sudo apt-get install python3-pip
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 18 all
sudo ./llvm.sh 19 all
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -241,14 +241,14 @@ jobs:
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-D CMAKE_BUILD_TYPE=RELEASE -D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON
env:
CC: clang-18
CXX: clang++-18
CC: clang-19
CXX: clang++-19
- name: Ninja build
run: |
cmake --build build
env:
CC: clang-18
CXX: clang++-18
CC: clang-19
CXX: clang++-19
- name: Run tests (MPI)
run: |
export ASAN_RUN=1
Expand Down

0 comments on commit 966c3cd

Please sign in to comment.