Create .gitlab-ci.yml

This commit is contained in:
Roshan Syed 2019-09-25 10:30:15 -03:00 committed by GitHub
parent af47ed0625
commit db01f313e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.gitlab-ci.yml Normal file
View 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