From 996f6f5c62e49d317ee721acc86a08eee3f0fb64 Mon Sep 17 00:00:00 2001 From: Ryuichi Yamamoto Date: Sat, 29 Jun 2024 14:35:15 +0900 Subject: [PATCH] fix windows build --- .github/workflows/ci.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93be966..fe9deed 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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