diff --git a/.github/workflows/examples-mpi.yml b/.github/workflows/examples-mpi.yml index cddf0a166c0..d5a9083ec61 100644 --- a/.github/workflows/examples-mpi.yml +++ b/.github/workflows/examples-mpi.yml @@ -24,7 +24,10 @@ on: jobs: build: name: Examples with mpi - runs-on: ["self-hosted", "mpi", "examples"] + runs-on: ubuntu-latest + strategy: + matrix: + mpi: [ 'mpich', 'openmpi'] env: DEVITO_MPI: "1" @@ -44,6 +47,11 @@ jobs: echo "PATH=$PATH" >> $GITHUB_ENV echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV + - name: Setup MPI + uses: mpi4py/setup-mpi@v1 + with: + mpi: ${{ matrix.mpi }} + - name: Install dependencies run: | pip install --upgrade pip