Readded seperate build for testnet; split code-checkout from build job
This commit is contained in:
parent
69a9ab3078
commit
354645e359
1 changed files with 21 additions and 4 deletions
|
|
@ -10,7 +10,6 @@ stages:
|
|||
- build
|
||||
- test
|
||||
|
||||
|
||||
code-checkout:
|
||||
stage: code-checkout
|
||||
script:
|
||||
|
|
@ -27,9 +26,27 @@ build:
|
|||
script:
|
||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
- make -j$(nproc)
|
||||
parallel:
|
||||
matrix:
|
||||
- Testnet: [cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 .. && make -j$(nproc)]
|
||||
artifacts:
|
||||
untracked: true
|
||||
paths:
|
||||
- build/libraries/
|
||||
- build/programs/
|
||||
- build/tests/
|
||||
|
||||
build-testnet:
|
||||
stage: build
|
||||
needs: []
|
||||
script:
|
||||
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
||||
- make -j$(nproc)
|
||||
artifacts:
|
||||
untracked: true
|
||||
paths:
|
||||
- build/libraries/
|
||||
- build/programs/
|
||||
- build/tests/
|
||||
tags:
|
||||
- builder
|
||||
artifacts:
|
||||
untracked: true
|
||||
paths:
|
||||
|
|
|
|||
Loading…
Reference in a new issue