Update build-serial-omp.yml #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test MPI Backend | |
on: | |
pull_request: | |
branches: [main, spatter-devel] | |
jobs: | |
build-and-run-mpi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: awalsh128/cache-apt-pkgs-action@latest #Add OpenMPI to test against | |
with: | |
packages: openmpi-bin libopenmpi-dev | |
version: 1.0 | |
- name: Build-MPI | |
run: | |
cmake -DUSE_MPI=1 -B build_mpi -S . && make -C build_mpi | |
- name: Test-MPI | |
run: make test -C build_mpi |