Added mainnet build first; added needs:[] step to mainnet
This commit is contained in:
parent
6f08f30e5f
commit
3ec15a63a8
1 changed files with 21 additions and 20 deletions
|
|
@ -9,6 +9,27 @@ stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- 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:
|
build-testnet:
|
||||||
stage: build
|
stage: build
|
||||||
needs: []
|
needs: []
|
||||||
|
|
@ -30,26 +51,6 @@ build-testnet:
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- 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:
|
dockerize:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
variables:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue