Removed new directory for build; "build-testnet" - Used orginal build folder
This commit is contained in:
parent
3712e581a3
commit
c888c49276
1 changed files with 21 additions and 23 deletions
|
|
@ -9,6 +9,27 @@ stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
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
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- 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
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
|
|
@ -29,29 +50,6 @@ build:
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- 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 -j$(nproc)
|
|
||||||
|
|
||||||
|
|
||||||
artifacts:
|
|
||||||
untracked: true
|
|
||||||
paths:
|
|
||||||
- build-testnet/libraries/
|
|
||||||
- build-testnet/programs/
|
|
||||||
- build-testnet/tests/
|
|
||||||
tags:
|
|
||||||
- builder
|
|
||||||
|
|
||||||
dockerize:
|
dockerize:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
variables:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue