GitLab Pipeline Sample Code
The sample code is as follows:
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_NonInvasiveSwitching.sh
- cd /home/test/build
- make
tags:
- kunpeng_c_builder_bisheng_compiler # This is the tag used during gitlab-runner registration. Multiple tags may be selected.
/home/test/build indicates the project file path. make indicates the compilation command. Replace them with actual ones.
Parent topic: BiSheng Compiler