From d3015162ac8801628ff9b5fd47885984b46996e1 Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 8 Mar 2024 19:19:32 +0000 Subject: [PATCH] Added format stage to CI --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c703f81d1..5fb4123fc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - build + - format build-linux: stage: build @@ -14,3 +15,12 @@ build-linux: artifacts: paths: - artifacts/* + +clang-format: + stage: format + image: suyuemu/cibuild:latest + resource_group: linux-ci + variables: + RELEASE_NAME: mainline + script: + - bash .ci/scripts/format/script.sh