Skip to content

Commit

Permalink
set up env variables for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 committed Jun 12, 2024
1 parent d8a269a commit cfb4552
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
sudo apt-get update
sudo apt-get install libopenmpi-dev openmpi-bin
fi;
- name: Install ubuntu dependencies
- name: Install MacOs dependencies
shell: bash -el {0}
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
Expand All @@ -49,6 +49,12 @@ jobs:
shell: bash -el {0}
run: |
pip install --verbose '.[opt, parallel, test, gui]'
- name: Set Env Variables
shell: bash -el {0}
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib" >> $GITHUB_ENV
fi;
- name: Run MPI application
shell: bash -el {0}
run: |
Expand Down

0 comments on commit cfb4552

Please sign in to comment.