Commit bf467ac3 authored by Ralf Mueller's avatar Ralf Mueller 🎣
Browse files

enable gitlab-CI

parent 6b3a1fe5
Pipeline #2467 passed with stages
in 14 minutes and 57 seconds
variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- check
build-gcc64:
stage: build
before_script:
- . /sw/rhel6-x64/etc/profile.mistral && module list
- module load libtool autoconf automake
- cd libcdi && git checkout develop && ./autogen.sh && cd ..
- autoreconf -vfi --no-recursive
script:
- module load gcc/6.4.0
- |
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 --with-netcdf=/sw/rhel6-x64/netcdf/netcdf_c-4.6.1-gcc64 --with-magics=/sw/rhel6-x64/graphics/magicsxx-2.33.0-gfxonly-gcc48 --with-fftw3 --with-eccodes=/sw/rhel6-x64/eccodes/eccodes-2.6.0-gcc64 --with-udunits2=/sw/rhel6-x64/util/udunits-2.2.26-gcc64 CXXFLAGS="-I/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/include" LDFLAGS="-L/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/lib -Wl,-rpath,/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/lib -lfftw3 -Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.6.0-gcc64/lib -Wl,-rpath,/sw/rhel6-x64/graphics/magicsxx-2.33.0-gfxonly-gcc48/lib" --with-proj=/sw/rhel6-x64/graphics/proj5-5.2.0-gcc64
make -j 4
artifacts:
paths:
- /builds/mpim-sw/cdo
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
- cd libcdi && git checkout develop && ./autogen.sh && cd ..
- autoreconf -vfi --no-recursive
script:
- module load gcc/6.4.0 intel
- 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 --with-netcdf=/sw/rhel6-x64/netcdf/netcdf_c-4.6.1-gcc64 --with-magics=/sw/rhel6-x64/graphics/magicsxx-2.33.0-gfxonly-gcc48 --with-fftw3 --with-eccodes=/sw/rhel6-x64/eccodes/eccodes-2.6.0-gcc64 --with-udunits2=/sw/rhel6-x64/util/udunits-2.2.26-gcc64 CXXFLAGS="-I/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/include" LDFLAGS="-L/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/lib -Wl,-rpath,/sw/rhel6-x64/numerics/fftw-3.3.7-openmp-gcc64/lib -lfftw3 -Wl,-rpath,/sw/rhel6-x64/eccodes/eccodes-2.6.0-gcc64/lib -Wl,-rpath,/sw/rhel6-x64/graphics/magicsxx-2.33.0-gfxonly-gcc48/lib" --with-curl --with-ossp-uuid --with-proj=/sw/rhel6-x64/graphics/proj5-5.2.0-gcc64 && make -j 4
artifacts:
paths:
- /builds/mpim-sw/cdo
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
[submodule "libcdi"]
path = libcdi
url = git@gitlab.dkrz.de:mpim-sw/libcdi.git
url = ../libcdi.git
[submodule "test/bandit_tests/bandit"]
path = test/bandit_tests/bandit
url = https://github.com/banditcpp/bandit.git
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