Commit 61b9f944 authored by Markus Rampp's avatar Markus Rampp
Browse files

CI: update .gitlab-ci.yml

parent 67c620e2
Pipeline #5439 passed with stage
before_script:
- export LANG=C
- module use /afs/ipp/common/usr/modules.2014/amd64_sles11/modulefiles/GPU
- module load cmake impi/5.1.3
# define two stages, that way coverage only runs after all other
# tests have been done.
stages:
- build
- test
- coverage
# default build (without CUDA)
build-gcc-mpi-nocuda:
build-gcc-mpi:
stage: build
script:
- module load gcc/4.9 fftw/gcc/3.3.4 boost/gcc/1.56
- mkdir build
- cd build
- cmake .. -DCMAKE_CXX_COMPILER=g++
- make VERBOSE=1 -j 4
- .gitlab-ci/build/run_build.sh gcc-mpi
- .gitlab-ci/test/run_test.sh gcc-mpi 4 2
- .gitlab-ci/test/run_coverage.sh build/CMakeFiles/bioEM.dir coverage_data
artifacts:
paths:
- coverage_data
# GPU build (with CUDA)
build-gcc-mpi-cuda:
stage: build
script:
- module load gcc/4.9 fftw/gcc/3.3.4 boost/gcc/1.56 cuda/7.5
- mkdir build
- cd build
- cmake .. -DCMAKE_CXX_COMPILER=g++ -DINCLUDE_CUDA=ON -DCUDA_CUDA_LIBRARY=$CUDA_HOME/lib64/stubs/libcuda.so
- make VERBOSE=1 -j 4
- .gitlab-ci/build/run_build.sh gcc-mpi-cuda
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