Skip to content

Commit

Permalink
[fix]: Using powershell in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed May 13, 2021
1 parent 6c2feea commit 77c8c0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and upload to PyPI

env:
CIBW_BUILD: cp36-* cp37-* cp38-* ## Only compile this cpython versions
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel && delvewheel
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"
# run the package tests using `pytest`
CIBW_BEFORE_TEST: pip install pytest && pip install -r requirements.txt
Expand Down Expand Up @@ -48,6 +48,10 @@ jobs:
with:
python-version: "3.8"

- name: Use powershell
shell: powershell
if: matrix.is == 'windows-2019'

- name: Build wheels
uses: joerick/cibuildwheel@v1.10.0

Expand Down

0 comments on commit 77c8c0b

Please sign in to comment.