Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuan8 committed Nov 4, 2024
1 parent 932cde3 commit da1a663
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,16 @@ jobs:
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
export PATH="/c/Python${{ matrix.python-version }}/:/c/Python${{ matrix.python-version }}/Scripts:$PATH"
python -m pip install -e .
env:
CMAKE_ARGS: "-DCMAKE_CXX_FLAGS=-fopenmp"
export PATH="/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}.11/x64:/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}.11/x64/Scripts:$PATH"
CMAKE_ARGS="-DCMAKE_CXX_FLAGS=-fopenmp"
/c/hostedtoolcache/windows/Python/${{ matrix.python-version }}.11/x64/python.exe -m pip install -e .
- name: Build (macOS)
if: runner.os == 'macOS'
run: |
CMAKE_ARGS="-DCMAKE_CXX_FLAGS=-fopenmp"
python -m pip install -e .
env:
CMAKE_ARGS: "-DCMAKE_CXX_FLAGS=-fopenmp"
shell: bash

- name: Run tests
run: |
Expand Down

0 comments on commit da1a663

Please sign in to comment.