CI: add job that checks formatting with clang-format

dcontrib-log
Sébastien Villemot 2023-11-29 19:02:41 +01:00
parent ed332e3ba1
commit f0420fa219
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 7 additions and 0 deletions

View File

@ -177,6 +177,13 @@ test_octave:
needs: [ "build_octave" ]
when: manual
test_clang_format:
stage: test
script:
- meson setup -Dbuild_for=octave build-clang-format
- ninja -C build-clang-format clang-format-check
needs: []
# For the sign and deploy jobs, we dont use the “needs” keyword, since we
# dont want those jobs to start before the “test” and “pkg” stages have
# succeeded. Hence we stick to the “dependencies” keyword.