Skip to content
Snippets Groups Projects
Commit 5594e618 authored by Philipp Rüssmann's avatar Philipp Rüssmann
Browse files

Make before)script more stable

parent 77304de8
No related branches found
No related tags found
No related merge requests found
......@@ -8,13 +8,15 @@ image: iffregistry.fz-juelich.de/docker-images/centos8-intel-compilers:latest-ip
before_script:
# set +e prevents sourced scripts from aborting if single commands fail (GitLab CI sets `-e` by default)
- set +e && source compilervars.sh intel64 ; set -e
- set +e && source compilervars.sh intel64
# set environment variables to avoind stack size issue
- export OMP_NUM_THREADS=1
- export OMP_STACKSIZE=1g
- ulimit -s unlimited
# install numpy
- pip3 install numpy
- pip3 install nump
# now reactivate `-e` setting again to stop on each error that follows
- set -e
stages:
- test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment