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