Skip to content

Commit 3699c62

Browse files
committed
ci - ensure clang-tidy errors
1 parent 34ffae4 commit 3699c62

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ noether-asan:
4848
- make -k -j$((NPROC_CPU / NPROC_POOL)) BACKENDS="$BACKENDS_CPU" JUNIT_BATCH="memcheck" junit realsearch=%
4949
# Clang-tidy
5050
- echo "-------------- clang-tidy ----------" && clang-tidy --version
51-
- TIDY_OPTS="-fix-errors" make -j$NPROC_CPU tidy && git diff --color=always --exit-code
51+
- TIDY_OPTS="-fix-errors -warnings-as-errors=" make -j$NPROC_CPU tidy
5252
# Report status
5353
- touch .SUCCESS
5454
artifacts:
@@ -284,7 +284,7 @@ noether-cuda:
284284
- make -k -j$((NPROC_GPU / NPROC_POOL)) BACKENDS="$BACKENDS_GPU" JUNIT_BATCH="cuda" junit search=dealii DEAL_II_DIR=$DEAL_II_DIR
285285
# Clang-tidy
286286
- echo "-------------- clang-tidy ----------" && clang-tidy --version
287-
- TIDY_OPTS="-fix-errors" make -j$NPROC_CPU tidy && git diff --color=always --exit-code
287+
- TIDY_OPTS="-fix-errors -warnings-as-errors=" make -j$NPROC_CPU tidy
288288
# Report status
289289
- touch .SUCCESS
290290
after_script:
@@ -351,7 +351,7 @@ noether-cuda:
351351
# - make -k -j$((NPROC_GPU / NPROC_POOL)) BACKENDS="$BACKENDS_GPU" JUNIT_BATCH="hip" junit search="petsc fluids solids"
352352
# # Clang-tidy
353353
# - echo "-------------- clang-tidy ----------" && clang-tidy --version
354-
# - TIDY_OPTS="-fix-errors" make -j$NPROC_CPU tidy && git diff --color=always --exit-code
354+
# - TIDY_OPTS="-fix-errors -warnings-as-errors=" make -j$NPROC_CPU tidy
355355
# # Report status
356356
# - touch .SUCCESS
357357
# after_script:
@@ -402,7 +402,7 @@ noether-rocm:
402402
- make -j$NPROC_CPU
403403
# Clang-tidy
404404
- echo "-------------- clang-tidy ----------" && clang-tidy --version
405-
- TIDY_OPTS="-fix-errors" make -j$NPROC_CPU tidy && git diff --color=always --exit-code
405+
- TIDY_OPTS="-fix-errors -warnings-as-errors=" make -j$NPROC_CPU tidy
406406
# Report status
407407
- touch .SUCCESS
408408

0 commit comments

Comments
 (0)