Skip to content

Commit

Permalink
Re-enable building win32 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
lelit committed Jan 21, 2024
1 parent 48a3813 commit ceadbe9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ jobs:

strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-12]
arch: [auto]
include:
- os: ubuntu-22.04
arch: aarch64
- os: windows-2022
arch: x86
- os: windows-2022
arch: x64

steps:
- name: Checkout sources
Expand All @@ -74,17 +78,19 @@ jobs:
with:
python-version: '3.11'

- uses: ilammy/msvc-dev-cmd@v1
- name: Set up MSVC CLI tools
if: ${{ matrix.os == 'windows-2022' }}
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
arch: ${{ matrix.arch }}

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_TEST_REQUIRES: "coverage pytest pytest-cov"
CIBW_TEST_COMMAND: "py.test {project}/tests"
CIBW_SKIP: "cp2* cp33* cp34* cp35* cp36* cp37* cp38* pp* cp*-win32"
CIBW_ARCHS: ${{matrix.arch}}
CIBW_SKIP: "cp2* cp33* cp34* cp35* cp36* cp37* cp38* pp*"
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_PRERELEASE_PYTHONS: True

- name: Upload artifacts
Expand Down

0 comments on commit ceadbe9

Please sign in to comment.