Skip to content

Commit

Permalink
build more wheel for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Nov 3, 2024
1 parent 8ca73f4 commit b30089a
Showing 1 changed file with 49 additions and 4 deletions.
53 changes: 49 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ jobs:
target: aarch64
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
manylinux: musllinux_1_1
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-aarch64
path: dist

windows:
windows-x86_64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -131,13 +131,56 @@ jobs:
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: x86_64-pc-windows-msvc
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-windows
name: wheels-x86_64-pc-windows-msvc
path: dist

windows-aarch64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- uses: messense/maturin-action@v1
with:
target: aarch64-pc-windows-msvc
command: build
sccache: true
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-aarch64-pc-windows-msvc
path: dist

windows-i686:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# 3.13 failed for unknown reason
#
# Caused by: Failed to find a python interpreter
python-version: "3.12"
- uses: messense/maturin-action@v1
with:
target: i686-pc-windows-msvc
command: build
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-i686-pc-windows-msvc
path: dist

macos:
Expand Down Expand Up @@ -190,7 +233,9 @@ jobs:
sdist,
macos,
linux,
windows,
windows-x86_64,
windows-aarch64,
windows-i686,
manylinux-aarch64,
armv7,
musllinux-x86_64,
Expand Down

0 comments on commit b30089a

Please sign in to comment.