28 lines
623 B
YAML
28 lines
623 B
YAML
stages: # List of stages for jobs, and their order of execution
|
|
- build
|
|
- test
|
|
|
|
build-job: # This job runs in the build stage, which runs first.
|
|
tags:
|
|
- Quirrell
|
|
- Boursouflet
|
|
stage: build
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
- make
|
|
artifacts:
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
|
|
paths:
|
|
- build/
|
|
|
|
make-test: # This job runs in the test stage.
|
|
tags:
|
|
- Quirrell
|
|
- Boursouflet
|
|
stage: test # It only starts when the job in the build stage completes successfully.
|
|
script:
|
|
- cd build
|
|
- echo "Running tests..."
|
|
- make test |