GitLab流水线代码示例。
stages: # List of stages for jobs, and their order of execution - build - test - deploy build-job: # This job runs in the build stage, which runs first. stage: build script: - source "${HOME}"/.local/wrap-bin/devkit_pipeline.sh # 其他平台运行编译命令为:cd /path/to/repository、make,请在此运行与其他平台一致的编译命令 - cd /path/to/repository - make tags: - kunpeng_c_builder_bisheng_compiler # 对应gitlab-runner注册时的标签,可选择多个
source ${HOME}/.local/wrap-bin/devkit_pipeline.sh
cd /path/to/repository make