File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ check-style-clang-format-14:
37
37
CLANG_FORMAT_VERSION : 14
38
38
39
39
# Clang-tidy
40
- clang-tidy-17 :
40
+ clang-tidy-18 :
41
41
stage : code-linting
42
42
image : ubuntu:rolling
43
43
variables :
@@ -48,7 +48,7 @@ clang-tidy-17:
48
48
- apt update
49
49
- DEBIAN_FRONTEND=noninteractive apt install -y
50
50
clang cmake
51
- clang-tidy clang-tidy-17
51
+ clang-tidy clang-tidy-18
52
52
libboost-all-dev libeigen3-dev libgtk-3-dev libopenmpi-dev libsqlite3-dev
53
53
gsl-bin libgsl-dev libgsl27
54
54
git ssh
@@ -68,13 +68,13 @@ clang-tidy-17:
68
68
# File paths generated by git diff are relative to the working tree. Therefore, iregex should only contain paths relative to the working tree.
69
69
- if [[ $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ]] || (grep -q ".clang-tidy" $FILES_CHANGED) ; then
70
70
echo "Running full clang-tidy" ;
71
- run-clang-tidy-17 -p cmake-cache/ -quiet
71
+ run-clang-tidy-18 -p cmake-cache/ -quiet
72
72
1> $CLANG_TIDY_OUTPUT
73
73
2> /dev/null ;
74
74
else
75
75
echo "Running clang-tidy-diff" ;
76
76
git diff -U0 upstream/$CI_DEFAULT_BRANCH |
77
- clang-tidy-diff-17 .py -path cmake-cache/ -p1 -quiet -use-color
77
+ clang-tidy-diff-18 .py -path cmake-cache/ -p1 -quiet -use-color
78
78
-iregex "(contrib|examples|src|scratch|utils)\/.+\.(cpp|cc|cxx|h|hpp)"
79
79
1> $CLANG_TIDY_OUTPUT
80
80
2> /dev/null ;
You can’t perform that action at this time.
0 commit comments