3
0
Fork 0
forked from suyu/suyu

Added format stage to CI

This commit is contained in:
niansa 2024-03-08 19:19:32 +00:00
parent def7154dfb
commit d3015162ac

View file

@ -1,5 +1,6 @@
stages: stages:
- build - build
- format
build-linux: build-linux:
stage: build stage: build
@ -14,3 +15,12 @@ build-linux:
artifacts: artifacts:
paths: paths:
- artifacts/* - artifacts/*
clang-format:
stage: format
image: suyuemu/cibuild:latest
resource_group: linux-ci
variables:
RELEASE_NAME: mainline
script:
- bash .ci/scripts/format/script.sh