Skip to content

Commit fd936b7

Browse files
committed
ci - add make tidy to gitlab
1 parent 7846460 commit fd936b7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ noether-rocm:
4040
- cd .. && export NEK5K_VERSION=Nek5000-19.0 && { [[ -d $NEK5K_VERSION ]] || { git clone --depth 1 --branch v19.0 https://github.com/Nek5000/Nek5000.git $NEK5K_VERSION && cd $NEK5K_VERSION/tools && ./maketools genbox genmap reatore2 && cd ../..; }; } && git -C $NEK5K_VERSION describe --tags && export NEK5K_DIR=$PWD/$NEK5K_VERSION && export PATH=$NEK5K_DIR/bin:$PATH MPI=0 && cd libCEED
4141
- make -k -j$NPROC_CPU BACKENDS="$BACKENDS_CPU" junit search=nek
4242
- make -k -j$NPROC_GPU BACKENDS="$BACKENDS_GPU" junit search=nek
43+
# Clang-tidy
44+
- clang-tidy --version && TIDY_OPTS="-fix-errors" make -j$NPROC_CPU tidy && git diff --exit-code
4345
# Report status
4446
- echo "SUCCESS" > .job_status
4547
after_script:

0 commit comments

Comments
 (0)