From 4a9a4748e93abd23cc070735c93fdc7462982273 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Sun, 9 Jul 2023 15:05:58 -0400 Subject: [PATCH] Add OpenMPI to GH action --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d62e93805..0494fdc9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -107,6 +107,10 @@ jobs: ubuntu-latest-cmake-mpi: runs-on: ubuntu-latest + strategy: + matrix: + mpi_library: [mpich, libopenmpi-dev] + steps: - name: Clone id: checkout @@ -116,7 +120,7 @@ jobs: id: depends run: | sudo apt-get update - sudo apt-get install build-essential mpich + sudo apt-get install build-essential ${{ matrix.mpi_library }} - name: Build id: cmake_build