mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 08:39:37 +08:00
try alpine for formatting
This commit is contained in:
parent
1ac1af62ef
commit
08c31c3ba6
@ -1,12 +1,10 @@
|
||||
checkformat:clangformat:
|
||||
stage: checkformat
|
||||
image: ubuntu:latest
|
||||
image: alpine:3.19
|
||||
only:
|
||||
- merge_requests
|
||||
allow_failure: true
|
||||
before_script:
|
||||
- export DEBIAN_FRONTEND=noninteractive
|
||||
- apt-get update -y
|
||||
- apt-get install -y --no-install-recommends git clang-format clang-format-17
|
||||
- apk add --no-cache git clang17-extra-tools python3
|
||||
script:
|
||||
- git clang-format-17 --diff --commit ${CI_MERGE_REQUEST_DIFF_BASE_SHA}
|
||||
- git clang-format --diff --commit ${CI_MERGE_REQUEST_DIFF_BASE_SHA}
|
||||
|
Loading…
x
Reference in New Issue
Block a user