Skip to content

Commit

Permalink
[CI] Add openmp to path (macos)
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed Aug 4, 2023
1 parent 2c1f1c8 commit 8a7dac5
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install OpenMP (macOS)
- name: Add OpenMP to path (macOS)
if: runner.os == 'macOS'
run: |
brew reinstall libomp
brew --prefix libomp
echo "$(brew --prefix libomp)/include" >> $GITHUB_PATH
- name: Show python info
shell: bash -e {0}
run: |
which python
python --version
- name: Show Compiler info
shell: bash -e {0}
run: |
echo ${CXX}
which ${CXX}
${CXX} --version
- name: Build
shell: bash -e {0}
run: |
Expand Down

0 comments on commit 8a7dac5

Please sign in to comment.