Skip to content

Commit

Permalink
[CI] Install openmp on macOS and don't setup msbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed Aug 3, 2023
1 parent 1633452 commit 438a78e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,20 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Fix Python PATH on macOS
- name: Install OpenMP (macOS)
if: runner.os == 'macOS'
run: |
tee -a ~/.profile <<<'export PATH="$pythonLocation/bin:$PATH"'
brew install libomp
- name: Show python info
shell: bash -e {0}
run: |
which python
python --version
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1
if: ${{ runner.os == 'Windows' }}
- name: Build
shell: bash -e {0}
run: |
Expand Down

0 comments on commit 438a78e

Please sign in to comment.