Added build folders for mainnet & testnet
This commit is contained in:
parent
f703b4fd7b
commit
d133b24877
1 changed files with 4 additions and 1 deletions
|
|
@ -17,12 +17,13 @@ code-checkout:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- rm -rf build
|
- rm -rf build
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
needs: [code-checkout]
|
needs: [code-checkout]
|
||||||
script:
|
script:
|
||||||
|
- mkdir build/mainnet
|
||||||
|
- cd build/mainnet
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -36,6 +37,8 @@ build-testnet:
|
||||||
stage: build
|
stage: build
|
||||||
needs: [code-checkout]
|
needs: [code-checkout]
|
||||||
script:
|
script:
|
||||||
|
- mkdir build/testnet
|
||||||
|
- cd build/testnet
|
||||||
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue