Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
r9y9 committed Jun 29, 2024
1 parent 004ce2d commit 996f6f5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,20 @@ jobs:
brew install libsamplerate
;;
esac
- name: Install dependencies
- name: Install dependencies (Linux and macOS)
if: runner.os != 'Windows'
run: |
python -m pip install --upgrade pip
pip install torch
pip install -e ".[test,lint]"
# NOTE: window is not happy with numpy 2.0.0
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: |
python -m pip install --upgrade pip
pip install "numpy<2.0.0"
pip install torch
pip install -e ".[test,lint]"
- name: Lint with pysen
run: |
pysen run lint
Expand Down

0 comments on commit 996f6f5

Please sign in to comment.