diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4c2bbc9589456e6086b0cc63433fa238ec28627..95539fc2ff9df6838143616df39cc1424c88478f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,21 +20,6 @@ stages: - build - test -format: - <<: *global_tag_def - stage: build - script: - - clang-format --version # we use clang-format-10 exclusively - - ./scripts/format_code.py - - mkdir -p patches - - if git diff --patch --exit-code > patches/clang-format.patch; then echo "Clang format changed nothing"; else echo "Clang format found changes to make!"; false; fi - artifacts: - paths: - - patches/ - expire_in: 1 day - when: on_failure - allow_failure: true - build: <<: *global_tag_def stage: build