Merge branch 'Manual-Build-In-Pipeline-Job-For-Testnet-CMAKE' into 'develop'
Manual build in pipeline job for testnet cmake See merge request PBSA/peerplays!71
This commit is contained in:
commit
000aeaa721
1 changed files with 26 additions and 2 deletions
|
|
@ -29,6 +29,28 @@ build:
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
|
||||||
|
build-testnet:
|
||||||
|
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 -DBUILD_PEERPLAYS_TESTNET=1 ..
|
||||||
|
- make -j$(nproc)
|
||||||
|
artifacts:
|
||||||
|
untracked: true
|
||||||
|
paths:
|
||||||
|
- build/libraries/
|
||||||
|
- build/programs/
|
||||||
|
- build/tests/
|
||||||
|
tags:
|
||||||
|
- builder-testnet
|
||||||
|
when:
|
||||||
|
manual
|
||||||
|
|
||||||
dockerize:
|
dockerize:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
variables:
|
||||||
|
|
@ -41,8 +63,10 @@ dockerize:
|
||||||
- docker push $IMAGE
|
- docker push $IMAGE
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
when: manual
|
when:
|
||||||
timeout: 3h
|
manual
|
||||||
|
timeout:
|
||||||
|
3h
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue