Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:
METIS_TOP_DIR: metis-4.0.3
MFEM_TOP_DIR: mfem
MFEM_BRANCH: master
MFEM_ACTIONS_VERSION: v2.9

jobs:
builds-and-tests:
Expand Down Expand Up @@ -61,7 +62,8 @@ jobs:
if: matrix.os == 'ubuntu-latest' && matrix.mpi == 'par'
run: |
sudo apt-get update
sudo apt-get install mpich libmpich-dev
sudo apt-get install openmpi-bin libopenmpi-dev
export OMPI_MCA_rmaps_base_oversubscribe=1
export MAKE_CXX_FLAG="MPICXX=mpic++"

# Keep the following section in case we need it again in the future,
Expand All @@ -85,11 +87,11 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.HYPRE_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.2
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-${{ env.MFEM_ACTIONS_VERSION }}

- name: build hypre
if: steps.hypre-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-hypre@v2.4
uses: mfem/github-actions/build-hypre@v2.9
with:
archive: ${{ env.HYPRE_ARCHIVE }}
dir: ${{ env.HYPRE_TOP_DIR }}
Expand All @@ -103,11 +105,11 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.METIS_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-${{ env.MFEM_ACTIONS_VERSION }}

- name: build metis
if: steps.metis-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-metis@v2.4
uses: mfem/github-actions/build-metis@v2.9
with:
archive: ${{ env.METIS_ARCHIVE }}
dir: ${{ env.METIS_TOP_DIR }}
Expand All @@ -133,7 +135,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.MFEM_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.build-system }}-${{ matrix.target }}-${{ matrix.mpi }}-v2.4
key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.build-system }}-${{ matrix.target }}-${{ matrix.mpi }}-${{ env.MFEM_ACTIONS_VERSION }}

# We are using the defaults of the MFEM action here, which is to use master
# branch. There is an implicit assumption here that mfem master hasn't
Expand All @@ -142,7 +144,7 @@ jobs:
# superfluous.
- name: build mfem
if: steps.cache-mfem.outputs.cache-hit != 'true'
uses: mfem/github-actions/build-mfem@v2.4
uses: mfem/github-actions/build-mfem@v2.9
with:
os: ${{ matrix.os }}
target: ${{ matrix.target }}
Expand Down Expand Up @@ -233,7 +235,7 @@ jobs:
if: matrix.build-system == 'cmake'
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12

- name: setup Python packages for testing
if: matrix.build-system == 'cmake'
Expand Down
Loading