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

Update gitlab CI and config files.

parent 5b8f3675
No related branches found
No related tags found
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 -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
......@@ -3,11 +3,3 @@
# Responsible: Soeren Peters
# OS: MacOS X
#################################################################################
#################################################################################
# METIS
#################################################################################
SET(METIS_INCLUDEDIR "/usr/local/include")
SET(METIS_DEBUG_LIBRARY "/usr/local/lib/libmetis.a")
SET(METIS_RELEASE_LIBRARY "/usr/local/lib/libmetis.a")
......@@ -5,10 +5,5 @@
#################################################################################
set(NVCUDASAMPLES_ROOT "~/cuda-samples/Common")
#################################################################################
# METIS
#################################################################################
set(METIS_INCLUDEDIR "/usr/include")
set(METIS_DEBUG_LIBRARY "/usr/lib/x86_64-linux-gnu/libmetis.so")
set(METIS_RELEASE_LIBRARY "/usr/lib/x86_64-linux-gnu/libmetis.so")
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