Manual build in pipeline job for testnet cmake

This commit is contained in:
Rily Dunlap 2022-04-26 19:12:52 +00:00 committed by serkixenos
parent 3664ee67ca
commit c1048e1509

View file

@ -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