Skip to content

Commit 6902b2a

Browse files
committed
Upgrade clang version on clang-tidy job to clang-18
1 parent ea58f97 commit 6902b2a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/static-analysis-pr.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ jobs:
2121
id: review
2222
with:
2323
build_dir: build
24-
apt_packages: mpich,libmpich*,mpi*,openmpi-bin,ninja-build,libomp-16-dev,valgrind
24+
apt_packages: mpich,libmpich*,mpi*,openmpi-bin,ninja-build,libomp-18-dev,valgrind
2525
cmake_command: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
2626
config_file: .clang-tidy
2727
exclude: 3rdparty
2828
split_workflow: true
29+
clang_tidy_version: "18"
2930
lgtm_comment_body: ""
3031
env:
31-
CC: clang-16
32-
CXX: clang++-16
32+
CC: clang-18
33+
CXX: clang++-18
3334
- if: steps.review.outputs.total_comments > 0
3435
run: exit 1
3536
clang-tidy-for-gcc-build:
@@ -46,11 +47,12 @@ jobs:
4647
id: review
4748
with:
4849
build_dir: build
49-
apt_packages: mpich,libmpich*,mpi*,openmpi-bin,ninja-build,libomp-16-dev,valgrind
50+
apt_packages: mpich,libmpich*,mpi*,openmpi-bin,ninja-build,libomp-18-dev,valgrind
5051
cmake_command: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
5152
config_file: .clang-tidy
5253
exclude: 3rdparty
5354
split_workflow: true
55+
clang_tidy_version: "18"
5456
lgtm_comment_body: ""
5557
- if: steps.review.outputs.total_comments > 0
5658
run: |

0 commit comments

Comments
 (0)