Skip to content

Commit

Permalink
Add hypre to nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Feb 6, 2025
1 parent b7fbc36 commit 2ab7b3e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/Nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,25 @@ jobs:
cmake -B build -DCMAKE_PREFIX_PATH=${HOME}/kokkos -DCMAKE_INSTALL_PREFIX=$HOME/arborx
cmake --build build --parallel 2
cmake --install build
- name: Checkout hypre
uses: actions/checkout@v3
with:
repository: hypre-space/hypre
ref: master
path: hypre
- name: Build hypre
working-directory: hypre/src
run: |
[[ ${{ matrix.backend }} == 'OPENMP' ]] && hypre_cmake_opts+=( -DHYPRE_WITH_OPENMP=ON )
cmake -B build \
-DHYPRE_INSTALL_PREFIX=$HOME/hypre -DHYPRE_WITH_MPI=ON ${hypre_cmake_opts[@]}
cmake --build build --parallel 2
cmake --install build
- name: Checkout Cabana
uses: actions/checkout@v3
- name: Build Cabana
run: |
cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/Cabana -DCMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/arborx" -DCabana_ENABLE_TESTING=ON -DCabana_ENABLE_EXAMPLES=ON -DCabana_REQUIRE_${{ matrix.backend }}=ON -DVALGRIND_EXECUTABLE=False ${{ github.event.inputs.cmake_args }}
cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/Cabana -DCMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/arborx;$HOME/hypre" -DCabana_ENABLE_TESTING=ON -DCabana_ENABLE_EXAMPLES=ON -DCabana_REQUIRE_${{ matrix.backend }}=ON -DVALGRIND_EXECUTABLE=False ${{ github.event.inputs.cmake_args }}
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure ${{ github.event.inputs.ctest_args }}
cmake --install build

0 comments on commit 2ab7b3e

Please sign in to comment.