Skip to content

Commit

Permalink
added conditional step to install mpi on ubuntu or macos
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 authored Dec 12, 2023
1 parent d9060fd commit 937ed51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ jobs:
os: [ubuntu-latest,macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: install mpi
run: sudo apt update && sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev
- name: install mpi in ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt update && sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev
- name: install mpi macos
if: matrix.os == 'macos-latest'
run: brew install open-mpi
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 937ed51

Please sign in to comment.