From 80b4db1b29c75408cfdf25de5642683441b2c925 Mon Sep 17 00:00:00 2001 From: Harish RS Date: Thu, 26 Mar 2026 11:34:16 +0530 Subject: [PATCH] add Windows ARM64 support --- .github/workflows/release.yml | 12 +++++++++++- .github/workflows/tests.yml | 29 ++++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f694bb4..cf10376 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm] cibw_arch: ["auto64", "aarch64", "universal2"] cibw_python: - "cp39" @@ -87,6 +87,16 @@ jobs: cibw_arch: universal2 - os: windows-latest cibw_arch: aarch64 + - os: windows-11-arm + cibw_arch: universal2 + - os: windows-11-arm + cibw_arch: aarch64 + - os: windows-11-arm + cibw_arch: auto64 + - os: windows-11-arm + cibw_arch: "cp39" + - os: windows-11-arm + cibw_arch: "cp10" defaults: run: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 20c9145..faa92cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,12 +10,35 @@ on: - master jobs: + typecheck: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + with: + fetch-depth: 50 + submodules: true + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 + with: + python-version: "3.9" + + - name: Type check + run: make typecheck + + build: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] - os: [windows-latest, ubuntu-latest, macos-latest] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + os: [windows-latest, ubuntu-latest, macos-latest, windows-11-arm] + exclude: + - os: windows-11-arm + python-version: "3.9" + - os: windows-11-arm + python-version: "3.10" env: PIP_DISABLE_PIP_VERSION_CHECK: 1 @@ -37,7 +60,7 @@ jobs: __version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"]) - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 if: steps.release.outputs.version == 0 with: python-version: ${{ matrix.python-version }}