mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
try alpine for formatting
This commit is contained in:
parent
1ac1af62ef
commit
08c31c3ba6
@ -1,12 +1,10 @@
|
|||||||
checkformat:clangformat:
|
checkformat:clangformat:
|
||||||
stage: checkformat
|
stage: checkformat
|
||||||
image: ubuntu:latest
|
image: alpine:3.19
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- apk add --no-cache git clang17-extra-tools python3
|
||||||
- apt-get update -y
|
|
||||||
- apt-get install -y --no-install-recommends git clang-format clang-format-17
|
|
||||||
script:
|
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