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:
|
||||
- pull
|
||||
- build
|
||||
- test
|
||||
|
||||
before_script:
|
||||
- cd /var/www/Projects/595.peerplays/blockchain
|
||||
|
||||
pulljob:
|
||||
stage: pull
|
||||
script:
|
||||
- git pull origin master
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- pp-dev
|
||||
|
||||
buildjob:
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- git submodule update --init --recursive
|
||||
- cmake .
|
||||
- make
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- pp-dev
|
||||
|
||||
testjob:
|
||||
stage: test
|
||||
script:
|
||||
- ./tests/chain_test
|
||||
- ./tests/tournament_test
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- pp-dev
|
||||
- make -j$(nproc)
|
||||
tags:
|
||||
- builder
|
||||
|
|
|
|||
Loading…
Reference in a new issue