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 4102be4
Showing 1 changed file with 65 additions and 1 deletion.
66 changes: 65 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ 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
Expand All @@ -140,6 +140,68 @@ jobs:
name: wheels-windows
path: dist

windows-x86_64:
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: 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-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

# failed for unknown reason
#
# Caused by: Failed to find a python interpreter
# windows-i686:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# 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:
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -191,6 +253,8 @@ jobs:
macos,
linux,
windows,
windows-x86_64,
windows-aarch64,
manylinux-aarch64,
armv7,
musllinux-x86_64,
Expand Down

0 comments on commit 4102be4

Please sign in to comment.