Skip to content
Snippets Groups Projects
Commit b3042b70 authored by Sören Peters's avatar Sören Peters
Browse files

Merge branch 'feature/user-app-ci' into 'develop'

Compile all Apps in CI.

Closes #80

See merge request irmb/VirtualFluids_dev!212
parents 1836ab83 c4c4829a
No related branches found
No related tags found
1 merge request!212Compile all Apps in CI.
......@@ -52,6 +52,7 @@ stages:
--preset=make_all
-DBUILD_WARNINGS_AS_ERRORS=ON
-DCMAKE_CUDA_ARCHITECTURES=60
-DBUILD_VF_ALL_SAMPLES=ON
- make -j4
- ccache --show-stats
......@@ -99,7 +100,7 @@ msvc_17:
- cd $CI_PROJECT_DIR
- md -force $env:BUILD_FOLDER
- cd $env:BUILD_FOLDER
- cmake .. --preset=msvc_all -DCMAKE_CUDA_ARCHITECTURES=61 -DBUILD_WARNINGS_AS_ERRORS=ON
- cmake .. --preset=msvc_all -DCMAKE_CUDA_ARCHITECTURES=61 -DBUILD_WARNINGS_AS_ERRORS=ON -DBUILD_VF_ALL_SAMPLES=ON
- MSBuild.exe VirtualFluids.sln /property:Configuration=$env:BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
artifacts:
......
......@@ -78,7 +78,7 @@ endif()
option(BUILD_VF_PYTHON_BINDINGS "" OFF)
option(BUILD_VF_DOUBLE_ACCURACY "Use double accuracy" OFF)
option(BUILD_VF_ALL_SAMPLES "Build All Samples" OFF)
#################################################################################
# MACROS
......
......@@ -32,6 +32,13 @@ ELSE()
MESSAGE( STATUS "exclude Virtual Fluids GPU." )
ENDIF()
if(BUILD_VF_ALL_SAMPLES)
list(APPEND USER_APPS
"apps/gpu/LBM/ActuatorLine"
"apps/gpu/LBM/SphereScaling"
"apps/gpu/LBM/TGV_3D")
endif()
#############################################################
### Virtual Fluids GKS ###
#############################################################
......
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