毕昇编译器
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_cpp_builder # 对应gitlab-runner注册时的标签,可选择多个
- 若需要使用毕昇编译器的相关能力,请在代码脚本中添加如下命令。
source ${HOME}/.local/wrap-bin/devkit_pipeline.sh - 进行编译时,请执行以下命令编译。
cd /path/to/repository make
父主题: Gitlab流水线