Create .gitlab-ci.yml
This commit is contained in:
parent
af47ed0625
commit
db01f313e5
1 changed files with 29 additions and 0 deletions
29
.gitlab-ci.yml
Normal file
29
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
- cmake .
|
||||||
|
- make -j$(nproc)
|
||||||
|
artifacts:
|
||||||
|
untracked: true
|
||||||
|
paths:
|
||||||
|
- libraries/
|
||||||
|
- programs/
|
||||||
|
- tests/
|
||||||
|
tags:
|
||||||
|
- builder
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
|
script:
|
||||||
|
- ./tests/betting_test
|
||||||
|
- ./tests/chain_test
|
||||||
|
- ./tests/cli_test
|
||||||
|
tags:
|
||||||
|
- builder
|
||||||
Loading…
Reference in a new issue