Skip to content

Commit

Permalink
Merge pull request #119 from kwitaechong/arborx_option
Browse files Browse the repository at this point in the history
Optional ArborX tests
  • Loading branch information
streeve authored Feb 24, 2025
2 parents 8401677 + 2b9c47e commit ac792f3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@ jobs:
openmp: ['ON', 'OFF']
cmake_build_type: ['Debug', 'Release']
kokkos_ver: ['4.1.00']
arborx: ['ArborX']
coverage: ['OFF']
include:
- distro: 'ubuntu:latest'
cxx: 'g++'
openmp: 'ON'
cmake_build_type: 'Debug'
kokkos_ver: '4.1.00'
arborx: 'OFF'
coverage: 'OFF'
- distro: 'ubuntu:latest'
cxx: 'g++'
openmp: 'ON'
Expand Down Expand Up @@ -57,12 +65,14 @@ jobs:
cmake --build build --parallel 2
cmake --install build
- name: Checkout arborx
if: ${{ matrix.arborx != 'OFF' }}
uses: actions/checkout@v3
with:
repository: arborx/ArborX
ref: v1.2
path: arborx
- name: Build arborx
if: ${{ matrix.arborx != 'OFF' }}
working-directory: arborx
run: |
cmake -B build \
Expand Down
9 changes: 7 additions & 2 deletions unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Picasso_add_tests(NAMES
APIC
)

Picasso_add_tests(MPI NAMES
set(MPI_TESTS
FacetGeometry
ParticleInit
ParticleList
Expand All @@ -160,6 +160,11 @@ Picasso_add_tests(MPI NAMES
GridOperator2d
ParticleInterpolation
LevelSetRedistance
ParticleLevelSet
MarchingCubes
)

if(Picasso_ENABLE_ARBORX)
list(APPEND MPI_TESTS ParticleLevelSet)
endif()

Picasso_add_tests(MPI NAMES ${MPI_TESTS})

0 comments on commit ac792f3

Please sign in to comment.