Skip to content
Snippets Groups Projects
Commit 7b4b740e authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish:
Browse files

add gitlab-ci

parent 0fa1df0d
No related branches found
No related tags found
No related merge requests found
Pipeline #2447 failed
variables:
GIT_SUBMODULE_STRATEGY: none
stages:
- build
- check
build-gcc64:
stage: build
before_script:
- . /sw/rhel6-x64/etc/profile.mistral && module list
- module load libtool autoconf automake
- module load gcc/6.4.0
# - git clone http://gitlab+deploy-token-2:Ei3CtzbsMN-v-S7LGkPZ@gitlab.dkrz.de/mpim-sw/libcdi.git && cd libcdi && git checkout develop
- autoreconf -vfi && (cd libcdi && ./autogen.sh)
script:
- mkdir gcc64 && cd gcc64 && ../configure CC=/sw/rhel6-x64/gcc/gcc-6.4.0/bin/gcc CXX=/sw/rhel6-x64/gcc/gcc-6.4.0/bin/g++ FC=/sw/rhel6-x64/gcc/gcc-6.4.0/bin/gfortran && make -j 4
artifacts:
paths:
- /builds/mpim-cw/cdo/gcc64
expire_in: 5min
tags:
- xen, mistral
check-gcc64:
stage: check
needs: ["build-gcc64"]
before_script:
- . /sw/rhel6-x64/etc/profile.mistral && module list
script:
- module load gcc/6.4.0
- cd gcc64 && make check
tags:
- xen, mistral
build-intel18:
stage: build
before_script:
- . /sw/rhel6-x64/etc/profile.mistral && module list
- module load libtool autoconf automake
# - git clone http://gitlab+deploy-token-2:Ei3CtzbsMN-v-S7LGkPZ@gitlab.dkrz.de/mpim-sw/libcdi.git && cd libcdi && git checkout develop
- autoreconf -vfi && (cd libcdi && ./autogen.sh)
script:
- mkdir intel18 && cd intel18 && ../configure CC=/sw/rhel6-x64/intel/intel-18.0.4/bin/icc CXX=/sw/rhel6-x64/intel/intel-18.0.4/bin/icpc FC=/sw/rhel6-x64/intel/intel-18.0.4/bin/ifort && make -j 4
artifacts:
paths:
- /builds/mpim-cw/cdo/intel18
expire_in: 5min
tags:
- xen, mistral
check-intel18:
stage: check
needs: ["build-intel18"]
before_script:
- . /sw/rhel6-x64/etc/profile.mistral && module list
script:
- module load gcc/6.4.0 intel
- cd intel18 && make check
tags:
- xen, mistral
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