Skip to content

Commit

Permalink
CI: Fix package build job for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymouX47 committed Jun 26, 2024
1 parent 5c9fb4b commit 130d999
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Test package build and installation
- name: Test package build and installation (for non-Windows)
if: matrix.os != 'windows-latest'
run: |
make build
pip install -I dist/*.whl
pip install -I dist/*.tar.gz
- name: Test package build and installation (for Windows)
if: matrix.os == 'windows-latest'
run: |
make build
for %%w in (dist\*.whl) do pip install -I %%w
for %%t in (dist\*.tar.gz) do pip install -I %%t

0 comments on commit 130d999

Please sign in to comment.