Commit 0d2cdc33 authored by Lukas Riedel's avatar Lukas Riedel

Make CI system more granular

* Split testing into test:ode and test:execute_commands
* re-run only test:ode for update_dune
* reduce expiration time of artifacts
parent 3a2d37f5
......@@ -19,7 +19,7 @@ build:main:
name: "$CI_JOB_NAME"
paths:
- $CI_PROJECT_DIR/build-cmake
expire_in: 3 days
expire_in: 1 day
build:update_dune:
stage: build
......@@ -33,7 +33,7 @@ build:update_dune:
name: "$CI_JOB_NAME"
paths:
- $CI_PROJECT_DIR/build-cmake
expire_in: 3 days
expire_in: 1 day
build:debug:
stage: build
......@@ -46,35 +46,46 @@ build:debug:
MAKE_FLAGS="-j 2"
./dune-common/bin/dunecontrol --only=dorie all
test:main:
test:execute_commands:
stage: test
dependencies:
- build:main
script:
- ./dune-common/bin/dunecontrol --only=dorie configure
- ./dune-common/bin/dunecontrol --only=dorie make test_dorie_exec
artifacts:
name: "$CI_JOB_NAME"
paths:
- $CI_PROJECT_DIR/build-cmake/Testing
expire_in: 2 days
test:ode:
stage: test
dependencies:
- build:main
allow_failure: true
script:
- ./dune-common/bin/dunecontrol --only=dorie configure
- ARGS="--output-on-failure -j 2" ./dune-common/bin/dunecontrol --only=dorie make test
- ./dune-common/bin/dunecontrol --only=dorie make test_run_ode
artifacts:
name: "$CI_JOB_NAME"
paths:
- $CI_PROJECT_DIR/build-cmake/Testing
expire_in: 1 week
expire_in: 2 days
test:update_dune:
test:ode-update_dune:
stage: test
dependencies:
- build:update_dune
only:
- master
allow_failure: true
script:
- ./dune-common/bin/dunecontrol --only=dorie configure
- ARGS="--output-on-failure -j 2" ./dune-common/bin/dunecontrol --only=dorie make test
- ./dune-common/bin/dunecontrol --only=dorie make test_run_ode
artifacts:
name: "$CI_JOB_NAME"
paths:
- $CI_PROJECT_DIR/build-cmake/Testing
expire_in: 1 week
expire_in: 2 days
deploy:build_docs:
stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment