From f4385a533d49e00bb3a9310607b2ae1cc765bde9 Mon Sep 17 00:00:00 2001 From: Nikhil Dabas Date: Fri, 25 Sep 2026 15:28:40 +0100 Subject: [PATCH] Add Windows ARM64 build --- .github/workflows/release.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5457a13..fe2567e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,9 +62,14 @@ jobs: windows: - runs-on: windows-latest + runs-on: ${{ matrix.platform.runner }} strategy: matrix: + platform: + - runner: windows-latest + target: x86_64 + - runner: windows-11-arm + target: aarch64 python-version: - '3.10' - '3.11' @@ -72,17 +77,21 @@ jobs: - '3.13' - '3.14' - '3.15' + exclude: + - platform: + runner: windows-11-arm + target: aarch64 + python-version: '3.10' # no win-arm64 CPython build before 3.11 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ matrix.python-version }} allow-prereleases: true - architecture: x64 - name: Build wheels uses: PyO3/maturin-action@v1 with: - target: ${{ matrix.target }} + target: ${{ matrix.platform.target }} args: --release --out dist maturin-version: "v1.15.0" - name: Validate wheel ZIPs @@ -98,7 +107,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - name: wheels-${{ matrix.python-version }}-windows + name: wheels-${{ matrix.platform.target }}-${{ matrix.python-version }}-windows path: dist linux: