Update GitLab CI file, more manual build options
This commit is contained in:
parent
2e55b1818a
commit
ca5dc441a7
1 changed files with 39 additions and 21 deletions
|
|
@ -29,27 +29,17 @@ build:
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
|
||||||
build-testnet:
|
test:
|
||||||
stage: build
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
script:
|
script:
|
||||||
- rm -rf .git/modules/docs .git/modules/libraries/fc ./docs ./libraries/fc
|
- ./build/libraries/fc/tests/all_tests
|
||||||
- git submodule sync
|
- ./build/tests/betting_test --log_level=message
|
||||||
- git submodule update --init --recursive
|
- ./build/tests/chain_test --log_level=message
|
||||||
- rm -rf build
|
- ./build/tests/cli_test --log_level=message
|
||||||
- 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:
|
tags:
|
||||||
- builder-testnet
|
- builder
|
||||||
when:
|
|
||||||
manual
|
|
||||||
|
|
||||||
dockerize:
|
dockerize:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
@ -68,10 +58,34 @@ dockerize:
|
||||||
timeout:
|
timeout:
|
||||||
3h
|
3h
|
||||||
|
|
||||||
test:
|
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
|
||||||
|
when:
|
||||||
|
manual
|
||||||
|
timeout:
|
||||||
|
3h
|
||||||
|
|
||||||
|
test-testnet:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build-testnet
|
||||||
script:
|
script:
|
||||||
- ./build/libraries/fc/tests/all_tests
|
- ./build/libraries/fc/tests/all_tests
|
||||||
- ./build/tests/betting_test --log_level=message
|
- ./build/tests/betting_test --log_level=message
|
||||||
|
|
@ -79,3 +93,7 @@ test:
|
||||||
- ./build/tests/cli_test --log_level=message
|
- ./build/tests/cli_test --log_level=message
|
||||||
tags:
|
tags:
|
||||||
- builder
|
- builder
|
||||||
|
when:
|
||||||
|
manual
|
||||||
|
timeout:
|
||||||
|
1h
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue