Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pusnow committed Jun 21, 2023
1 parent 6e70b75 commit 197476f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,24 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
include:
- { name: windows, os: windows-2019, msvc_arch: x64, cibw_arch: AMD64}
- { name: windows, os: windows-2019, msvc_arch: x86, cibw_arch: x86}
- { name: macos, os: macos-11, cibw_arch: auto}
- { name: linux, os: ubuntu-20.04, cibw_arch: auto}

steps:
- uses: actions/checkout@v3

- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.msvc_arch }}
if: matrix.name == 'windows'

- name: Build wheels
uses: pypa/cibuildwheel@v2.13.1
# env:
# CIBW_SOME_OPTION: value
env:
CIBW_ARCHS: ${{ matrix.cibw_arch }}
# ...
# with:
# package-dir: .
Expand Down

0 comments on commit 197476f

Please sign in to comment.