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 3ec15a63a8 - Show all commits

View file

@ -9,6 +9,27 @@ stages:
- build
- test
build:
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 -DCMAKE_BUILD_TYPE=Release ..
- make -j$(nproc)
artifacts:
untracked: true
paths:
- build/libraries/
- build/programs/
- build/tests/
tags:
- builder
build-testnet:
stage: build
needs: []
@ -30,26 +51,6 @@ build-testnet:
tags:
- builder
build:
stage: build
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 -DCMAKE_BUILD_TYPE=Release ..
- make -j$(nproc)
artifacts:
untracked: true
paths:
- build/libraries/
- build/programs/
- build/tests/
tags:
- builder
dockerize:
stage: build
variables: