Draft: Enable CI/CD build for both mainnet and testnet versions #631

Closed
serkixenos wants to merge 18 commits from Feature-Enable-parallel-build-testnet-mainnet-cmake into develop
Showing only changes of commit 2b002e1572 - Show all commits

View file

@ -11,7 +11,6 @@ stages:
build:
stage: build
needs: []
script:
- rm -rf .git/modules/docs .git/modules/libraries/fc ./docs ./libraries/fc
- git submodule sync
@ -20,7 +19,7 @@ build:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j6
- make -j4
artifacts:
untracked: true
paths:
@ -30,27 +29,6 @@ build:
tags:
- 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 -j6
artifacts:
untracked: true
paths:
- build-testnet/libraries/
- build-testnet/programs/
- build-testnet/tests/
tags:
- builder
dockerize:
stage: build
variables: