#285 error converting value to string #24
1 changed files with 35 additions and 1 deletions
|
|
@ -2,9 +2,43 @@ include:
|
||||||
- template: Jobs/Code-Quality.gitlab-ci.yml
|
- template: Jobs/Code-Quality.gitlab-ci.yml
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- build
|
||||||
- test
|
- test
|
||||||
|
- trigger
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- rm -rf .git/modules/vendor
|
||||||
|
- git submodule sync
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- rm -rf build
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
- make -j$(nproc)
|
||||||
|
artifacts:
|
||||||
|
untracked: true
|
||||||
|
paths:
|
||||||
|
- build/tests/
|
||||||
|
tags:
|
||||||
|
- builder-fc
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
script:
|
||||||
|
- ./build/tests/all_test
|
||||||
|
tags:
|
||||||
|
- builder-fc
|
||||||
|
when:
|
||||||
|
- manual
|
||||||
|
|
||||||
trigger_build_peerplays:
|
trigger_build_peerplays:
|
||||||
stage: test
|
stage: trigger
|
||||||
|
dependencies:
|
||||||
|
- test
|
||||||
script:
|
script:
|
||||||
- "curl -X POST -F token=$CI_JOB_TOKEN -F ref=$REF_NAME https://gitlab.com/api/v4/projects/10735589/trigger/pipeline"
|
- "curl -X POST -F token=$CI_JOB_TOKEN -F ref=$REF_NAME https://gitlab.com/api/v4/projects/10735589/trigger/pipeline"
|
||||||
|
|
||||||
Loading…
Reference in a new issue