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

gitlab-ci after script

parent 06eca606
Pipeline #12300 passed with stages
in 2 seconds
......@@ -5,7 +5,17 @@ stages:
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "build"
# Cache keeps directory for other jobs
# SHORT SYNTAX EXPLANATIONS FOR THE JOB, FOR DETAILS VISIT: ===> https://docs.gitlab.com/ce/ci/yaml/ <===
# "stage:" makes the job part of a stage defined above
# "tags:" selects the runner
# "only:" restricts the execution of the job to a git branch or tag
# "before_script:" shell commands to be executed before the main script.
# "script:" shell commands for the test. If a shell command exits with >0, the job is marked as "failed", else as "passed".
# commands after a failing one are not executed anymore!
# "after_script:" shell commands after passed OR failed script. Careful, the current directory is always the root of the repo!
# "artifacts:" keep data from the job which is uploaded to gitlab.com. You really should set a duration to expiration.
# "when:" can be either on_failure, on_success or always
# "cache:" keeps directories given in paths: for other jobs
# ---------------------------------------------------------------------------------------------------------------------------------
build_debug:
stage: build
......@@ -15,6 +25,8 @@ build_debug:
- rm -rf build_debug || true
- mkdir -p build_debug
- cd ode-1 ; make clean; make DEBUG=yes 2>stdout.make 1>stderr.make
after_script:
- cd ode-1 ;
- cat stdout.make
- cp rk_solve ../build_debug/.
- cp std*.make ../build_debug/.
......@@ -32,6 +44,8 @@ build_release:
- rm -rf build_release || true
- mkdir -p build_release
- cd ode-1 ; make clean; make DEBUG=no 2>stdout.make 1>stderr.make
after_script:
- cd ode-1 ;
- cat stdout.make
- cp rk_solve ../build_release/.
- cp std*.make ../build_release/.
......
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