Commit 8667368c authored by ulrich_y's avatar ulrich_y
Browse files

Added CI

parent 70a4e3ec
# To kill artifacts
# curl --request DELETE --header "PRIVATE-TOKEN: `cat ~/.ssh/gitlab-token`" "https://gitlab.psi.ch/api/v4/projects/373/jobs/<jobid>/artifacts"
before_script:
- date
- whoami
- export PATH=/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/bin/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/mathematica/11.0/Executables/:$PATH
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib64/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib
- gfortran -v
cache:
paths:
- makefile
- build/
stages:
- configure
- build
- cleanup_build
- test
configure:
stage: configure
script:
- mkdir usr/
- ./configure --with-mcc --generic
compile:
stage: build
script:
- make all
artifacts:
paths:
- handyg.mod
- libhandyg.a
- geval
- handyg
- test
expire_in: 1 week
clean_up_build_job:
stage: cleanup_build
script:
- make clean
when: on_failure
test:
stage: test
script:
- pwd
- ls
- make check
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