From 6e0c84976c8a5629e0149c83b120ecc6d617b9ac Mon Sep 17 00:00:00 2001 From: xiaojiazhu <258828110@qq.com> Date: Wed, 23 Aug 2023 14:06:56 +0800 Subject: [PATCH] Add gitlib-ci.yml. --- gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 gitlab-ci.yml diff --git a/gitlab-ci.yml b/gitlab-ci.yml new file mode 100755 index 000000000..94ebf0b8b --- /dev/null +++ b/gitlab-ci.yml @@ -0,0 +1,27 @@ +# +# 2023.07.23 Oliver: +# This file does not need to be modified. +# To increase the platform, please ask the administrator to increase the server script. +# + +stages: + - auto + +build-job: + stage: auto + tags: + - ${CI_PROJECT_NAME} + script: + - ~/${CI_PROJECT_NAME}/build.sh + +analyze-job: + stage: auto + tags: + - ${CI_PROJECT_NAME} + variables: + GIT_STRATEGY: none + GIT_CHECKOUT: "false" + script: + - ~/${CI_PROJECT_NAME}/analyze.sh $CI_PROJECT_NAME $CI_COMMIT_BRANCH + needs: ["build-job"] + when: on_success