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
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
|
||||||
code-checkout:
|
code-checkout:
|
||||||
stage: code-checkout
|
stage: code-checkout
|
||||||
script:
|
script:
|
||||||
|
|
@ -27,9 +26,27 @@ build:
|
||||||
script:
|
script:
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
parallel:
|
artifacts:
|
||||||
matrix:
|
untracked: true
|
||||||
- Testnet: [cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 .. && make -j$(nproc)]
|
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:
|
artifacts:
|
||||||
untracked: true
|
untracked: true
|
||||||
paths:
|
paths:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue