Skip to content

Commit

Permalink
Add OpenMP setup for macOS in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Sep 26, 2024
1 parent d9d0dec commit fc0aab0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-python-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup openmp
if: startsWith(matrix.os, 'macos')
run: |
brew install libomp
echo "C_INCLUDE_PATH=$(brew --prefix)/opt/libomp/include" >> $GITHUB_ENV
echo "LIBRARY_PATH=$(brew --prefix)/opt/libomp/lib" >> $GITHUB_ENV
- name: Run tests
run: |
pipx run poetry install
Expand Down

0 comments on commit fc0aab0

Please sign in to comment.