Add gitlib-ci.yml.

This commit is contained in:
xiaojiazhu 2023-08-23 14:06:56 +08:00
parent c4b76682ba
commit 6e0c84976c

27
gitlab-ci.yml Executable file
View File

@ -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