-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'configure-ci' into 'beos-initial-release'
Update CI config See merge request blocktrades/beos-core!22
- Loading branch information
Showing
2 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,77 @@ | ||
stages: | ||
- build | ||
- test | ||
- integration-test | ||
- unit-test | ||
# - plugin-test | ||
|
||
before_script: | ||
- pwd | ||
- rm -rf ./build | ||
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) | ||
- eval $(ssh-agent -s) | ||
- ssh-add <(echo "$SSH_PRIVATE_KEY") | ||
- git submodule update --init --recursive | ||
- pip3 install distro | ||
|
||
build: | ||
stage: build | ||
script: | ||
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) | ||
- eval $(ssh-agent -s) | ||
- ssh-add <(echo "$SSH_PRIVATE_KEY") | ||
- git submodule update --init --recursive | ||
- pwd | ||
- pip3 install distro | ||
- cd cd-scripts | ||
- cp config-ci.py config.py | ||
- ./deploy.py --build-beos | ||
- ./deploy.py --initialize-beos | ||
after_script: | ||
- cd cd-scripts | ||
- cat beos_deploy_main.log | ||
cache: {} | ||
tags: | ||
- ryzen | ||
allow_failure: false | ||
|
||
test: | ||
stage: test | ||
integration-test: | ||
stage: integration-test | ||
script: | ||
- cd cd-scripts | ||
- cp config-ci.py config.py | ||
- ./deploy.py --build-beos | ||
- ./deploy.py --initialize-beos | ||
- cat beos_deploy_main.log | ||
- cd ../build/beos-autobuild | ||
- make test | ||
when: manual | ||
cache: {} | ||
tags: | ||
- ryzen | ||
allow_failure: true | ||
dependencies: | ||
- build | ||
|
||
unit-test: | ||
stage: unit-test | ||
script: | ||
- cd cd-scripts | ||
- cp config-ci.py config.py | ||
- ./deploy.py --make-integration-test | ||
- ./deploy.py --make-unit-test | ||
- ./deploy.py --make-beos-plugin-test | ||
- ./deploy.py --build-beos | ||
- ./deploy.py --initialize-beos | ||
- cat beos_deploy_main.log | ||
- cd ../build/beos-autobuild/unittests | ||
- ./unit_test | ||
when: manual | ||
cache: {} | ||
tags: | ||
- ryzen | ||
allow_failure: true | ||
dependencies: | ||
- build | ||
|
||
# currently disabled and not fully configured | ||
# plugin-test: | ||
# stage: plugin-test | ||
# script: | ||
# - pwd | ||
# - ./deploy.py --make-beos-plugin-test | ||
# when: manual | ||
# cache: {} | ||
# tags: | ||
# - ryzen | ||
# allow_failure: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters