Manual build in pipeline job for testnet cmake
This commit is contained in:
parent
3664ee67ca
commit
c1048e1509
1 changed files with 26 additions and 2 deletions
|
|
@ -29,6 +29,28 @@ build:
|
|||
tags:
|
||||
- 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:
|
||||
stage: build
|
||||
variables:
|
||||
|
|
@ -41,8 +63,10 @@ dockerize:
|
|||
- docker push $IMAGE
|
||||
tags:
|
||||
- builder
|
||||
when: manual
|
||||
timeout: 3h
|
||||
when:
|
||||
manual
|
||||
timeout:
|
||||
3h
|
||||
|
||||
test:
|
||||
stage: test
|
||||
|
|
|
|||
Loading…
Reference in a new issue