eigen/ci/checkformat.gitlab-ci.yml
2023-12-13 21:08:07 +00:00

12 lines
315 B
YAML

checkformat:clangformat:
stage: checkformat
image: ubuntu:23.10
only:
- merge_requests
allow_failure: true
before_script:
- apt-get update -y
- apt-get install -y --no-install-recommends git clang-format-17
script:
- git clang-format-17 --diff --commit ${CI_MERGE_REQUEST_DIFF_BASE_SHA}