Updated gitlab process
This commit is contained in:
parent
cdc89c16ee
commit
ba22c611f6
1 changed files with 6 additions and 31 deletions
|
|
@ -1,36 +1,11 @@
|
||||||
stages:
|
stages:
|
||||||
- pull
|
|
||||||
- build
|
- build
|
||||||
- test
|
|
||||||
|
|
||||||
before_script:
|
build:
|
||||||
- cd /var/www/Projects/595.peerplays/blockchain
|
|
||||||
|
|
||||||
pulljob:
|
|
||||||
stage: pull
|
|
||||||
script:
|
|
||||||
- git pull origin master
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- pp-dev
|
|
||||||
|
|
||||||
buildjob:
|
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
- cmake .
|
- cmake .
|
||||||
- make
|
- make -j$(nproc)
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
tags:
|
||||||
- pp-dev
|
- builder
|
||||||
|
|
||||||
testjob:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- ./tests/chain_test
|
|
||||||
- ./tests/tournament_test
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- pp-dev
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue