Readded seperate build for testnet; split code-checkout from build job

This commit is contained in:
rilesdun 2021-12-23 15:10:25 -04:00
parent 69a9ab3078
commit 354645e359

View file

@ -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: