Skip to content
Snippets Groups Projects
Commit 21af8051 authored by Soeren Peters's avatar Soeren Peters
Browse files

Merge pull request '.gitlab-ci uses irmb/virtualfluids-deps image' (#34) from...

Merge pull request '.gitlab-ci uses irmb/virtualfluids-deps image' (#34) from marcus/VirtualFluids_dev:develop into develop
parents 535871f8 82b6fba9
No related merge requests found
image: ubuntu
image: irmb/virtualfluids-deps:latest
stages:
- build
- test
build:
stage: build
artifacts:
paths:
- build/
before_script:
- export CAB_MACHINE=ELLADAN
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install build-essential -y
- apt-get install cmake -y
- apt-get install ninja-build -y
- apt-get install openmpi-bin -y
- apt-get install libomp-dev -y
- apt-get install nvidia-cuda-dev nvidia-cuda-toolkit -y
script:
- cmake -S . -B build -DBUILD_VF_CPU:BOOL=ON
- cmake --build build --target VirtualFluidsCore
\ No newline at end of file
- cmake -S . -B build -DBUILD_VF_CPU:BOOL=ON -DUSE_GCC:BOOL=ON -DBUILD_VF_UNIT_TESTS:BOOL=ON
- cmake --build build --target VirtualFluidsCore
- cmake --build build --target basicsTests
test:
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
script:
- build/bin/basicsTests
\ No newline at end of file
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