Commit 18943c6d authored by Florian Hindenlang's avatar Florian Hindenlang
Browse files

gitlab ci added.

parent 1954e5c9
stages:
- build
- test
cache:
key: "$CI_BUILD_REF"
paths:
- build_debug/
- build_release/
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "build"
# ---------------------------------------------------------------------------------------------------------------------------------
build_debug:
stage: build
script:
- cd ode-1 ; make clean ; make DEBUG=yes
- cd .. ; rm -rf build_debug || true
- mkdir -p build_debug
- cp ode-1/rk_solve build_debug/.
artifacts:
paths:
- build_debug
untracked: true
build_release:
stage: build
script:
- cd ode-1 ; make clean ; make DEBUG=no
- cd .. ; rm -rf build_release || true
- mkdir -p build_release
- cp ode-1/rk_solve build_release/.
artifacts:
paths:
- build_release
untracked: true
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "test"
# ---------------------------------------------------------------------------------------------------------------------------------
test_debug:
stage: test
script:
- cd build_debug
- ./rk_solve
artifacts:
paths:
- build_debug
untracked: true
test_release:
stage: test
script:
- cd build_release
- ./rk_solve
artifacts:
paths:
- build_release
untracked: true
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