-
Soeren Peters authoredSoeren Peters authored
.gitlab-ci.yml 13.17 KiB
image: irmb/virtualfluids-python-deps
stages:
- build
- test
- analyze
- deploy
- release
###############################################################################
## Builds ##
###############################################################################
gcc_9_python:
stage: build
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- _skbuild
artifacts:
paths:
- _skbuild/
- Python/venv
before_script:
- python3 -m venv --system-site-packages Python/venv
- source Python/venv/bin/activate
script:
- python3 setup.py install
gcc_9:
stage: build
tags:
- gpu
- linux
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG-gcc9-hybrid"
paths:
- build_gcc9
artifacts:
paths:
- build_gcc9
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -y libboost-serialization-dev
- cd /tmp
- apt-get install unzip
- wget https://github.com/NVIDIA/cuda-samples/archive/10.1.2.zip
- unzip 10.1.2.zip
- export NVCUDASAMPLES_ROOT=$(pwd)/cuda-samples-10.1.2
script:
- cd $CI_PROJECT_DIR
- mkdir -p build_gcc9
- cd build_gcc9
- cmake .. -DBUILD_VF_CPU=ON -DBUILD_VF_GPU=ON
- cmake . -LAH
- make -j4
clang_10:
stage: build