edit gitlab-ci: Added 2nd build, and "need" parameter
This commit is contained in:
parent
5df042bb2d
commit
afdf6505c4
1 changed files with 23 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ stages:
|
|||
|
||||
build:
|
||||
stage: build
|
||||
needs: []
|
||||
script:
|
||||
- rm -rf .git/modules/docs .git/modules/libraries/fc ./docs ./libraries/fc
|
||||
- git submodule sync
|
||||
|
|
@ -19,7 +20,7 @@ build:
|
|||
- mkdir build
|
||||
- cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
- make -j4
|
||||
- make -j6
|
||||
artifacts:
|
||||
untracked: true
|
||||
paths:
|
||||
|
|
@ -29,6 +30,27 @@ build:
|
|||
tags:
|
||||
- builder
|
||||
|
||||
build-testnet:
|
||||
stage: build
|
||||
needs: []
|
||||
script:
|
||||
- rm -rf .git/modules/docs .git/modules/libraries/fc ./docs ./libraries/fc
|
||||
- git submodule sync
|
||||
- git submodule update --init --recursive
|
||||
- rm -rf build-testnet
|
||||
- mkdir build-testnet
|
||||
- cd build-testnet
|
||||
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1
|
||||
- make -j6
|
||||
artifacts:
|
||||
untracked: true
|
||||
paths:
|
||||
- build-testnet/libraries/
|
||||
- build-testnet/programs/
|
||||
- build-testnet/tests/
|
||||
tags:
|
||||
- builder
|
||||
|
||||
dockerize:
|
||||
stage: build
|
||||
variables:
|
||||
|
|
|
|||
Loading…
Reference in a new issue