Added build folders for mainnet & testnet

This commit is contained in:
rilesdun 2021-12-23 15:17:20 -04:00
parent f703b4fd7b
commit d133b24877

View file

@ -17,12 +17,13 @@ code-checkout:
- git submodule update --init --recursive
- rm -rf build
- mkdir build
- cd build
build:
stage: build
needs: [code-checkout]
script:
- mkdir build/mainnet
- cd build/mainnet
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j$(nproc)
artifacts:
@ -36,6 +37,8 @@ build-testnet:
stage: build
needs: [code-checkout]
script:
- mkdir build/testnet
- cd build/testnet
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
- make -j$(nproc)
artifacts: