From 4102be4eeff4641cf363cd1e7ea99ba2e522c550 Mon Sep 17 00:00:00 2001 From: ringsaturn Date: Sun, 3 Nov 2024 11:20:24 +0800 Subject: [PATCH] build more wheel for Windows --- .github/workflows/CI.yml | 66 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 10e97e4..a5f8400 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 @@ -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: @@ -191,6 +253,8 @@ jobs: macos, linux, windows, + windows-x86_64, + windows-aarch64, manylinux-aarch64, armv7, musllinux-x86_64,