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:
serkixenos 2022-04-26 19:12:52 +00:00
commit 000aeaa721

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