Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
61b9f944
Commit
61b9f944
authored
Jun 16, 2016
by
Markus Rampp
Browse files
CI: update .gitlab-ci.yml
parent
67c620e2
Pipeline
#5439
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
61b9f944
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment