Commit fa6d084e authored by Florian Hindenlang's avatar Florian Hindenlang
Browse files

added execution of python

parent 0ba78bb5
Pipeline #11958 failed
stages:
- build
- error_clean_build
- test
- final_clean
cache:
key: "$CI_BUILD_REF"
paths:
- build_debug/
- build_release/
- testing/
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "build"
......@@ -36,25 +39,42 @@ build_release:
- build_release
untracked: true
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "error_clean_build": delete build folders if previous builds fail and exit
# ---------------------------------------------------------------------------------------------------------------------------------
clean_build:
stage: error_clean_build
script:
- rm -rf build_*
when: on_failure
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "test"
# ---------------------------------------------------------------------------------------------------------------------------------
test_debug:
stage: test
script:
- cd build_debug
- ./rk_solve
- cd testing ; python3 run_test.py -execpath build_debug/rk_solve
artifacts:
paths:
- build_debug
- testing
untracked: true
test_release:
test_debug:
stage: test
script:
- cd build_release
- ./rk_solve
- cd testing ; python3 run_test.py -execpath build_release/rk_solve
artifacts:
paths:
- build_release
- testing
untracked: true
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "final_clean": delete build folders if previous builds fail and exit
# ---------------------------------------------------------------------------------------------------------------------------------
clean_build:
stage: error_clean_test
script:
- rm -rf build_*
- cd testing
- rm -rf dirx_*
when: on_success
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