Skip to content

Commit 2ab7b3e

Browse files
committed
Add hypre to nightly builds
1 parent b7fbc36 commit 2ab7b3e

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/Nightly.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,25 @@ jobs:
4444
cmake -B build -DCMAKE_PREFIX_PATH=${HOME}/kokkos -DCMAKE_INSTALL_PREFIX=$HOME/arborx
4545
cmake --build build --parallel 2
4646
cmake --install build
47+
- name: Checkout hypre
48+
uses: actions/checkout@v3
49+
with:
50+
repository: hypre-space/hypre
51+
ref: master
52+
path: hypre
53+
- name: Build hypre
54+
working-directory: hypre/src
55+
run: |
56+
[[ ${{ matrix.backend }} == 'OPENMP' ]] && hypre_cmake_opts+=( -DHYPRE_WITH_OPENMP=ON )
57+
cmake -B build \
58+
-DHYPRE_INSTALL_PREFIX=$HOME/hypre -DHYPRE_WITH_MPI=ON ${hypre_cmake_opts[@]}
59+
cmake --build build --parallel 2
60+
cmake --install build
4761
- name: Checkout Cabana
4862
uses: actions/checkout@v3
4963
- name: Build Cabana
5064
run: |
51-
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 }}
65+
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 }}
5266
cmake --build build --parallel 2
5367
ctest --test-dir build --output-on-failure ${{ github.event.inputs.ctest_args }}
5468
cmake --install build

0 commit comments

Comments
 (0)