Skip to content

Commit ba5f66f

Browse files
committed
add Windows ARM64 support
1 parent 28d1db1 commit ba5f66f

2 files changed

Lines changed: 36 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ${{ matrix.os }}
7070
strategy:
7171
matrix:
72-
os: [ubuntu-latest, macos-latest, windows-latest]
72+
os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm]
7373
cibw_arch: ["auto64", "aarch64", "universal2"]
7474
cibw_python:
7575
- "cp39"
@@ -87,6 +87,16 @@ jobs:
8787
cibw_arch: universal2
8888
- os: windows-latest
8989
cibw_arch: aarch64
90+
- os: windows-11-arm
91+
cibw_arch: universal2
92+
- os: windows-11-arm
93+
cibw_arch: aarch64
94+
- os: windows-11-arm
95+
cibw_arch: auto64
96+
- os: windows-11-arm
97+
cibw_arch: "cp39"
98+
- os: windows-11-arm
99+
cibw_arch: "cp10"
90100

91101
defaults:
92102
run:

.github/workflows/tests.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,35 @@ on:
1010
- master
1111

1212
jobs:
13+
typecheck:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
18+
with:
19+
fetch-depth: 50
20+
submodules: true
21+
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
24+
with:
25+
python-version: "3.9"
26+
27+
- name: Type check
28+
run: make typecheck
29+
30+
1331
build:
1432
runs-on: ${{ matrix.os }}
1533
strategy:
1634
matrix:
1735
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
18-
os: [windows-latest, ubuntu-latest, macos-latest]
36+
os: [windows-latest, ubuntu-latest, macos-latest, windows-11-arm]
37+
exclude:
38+
- os: windows-11-arm
39+
python-version: "3.9"
40+
- os: windows-11-arm
41+
python-version: "3.10"
1942

2043
env:
2144
PIP_DISABLE_PIP_VERSION_CHECK: 1
@@ -37,7 +60,7 @@ jobs:
3760
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
3861
3962
- name: Set up Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
63+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4164
if: steps.release.outputs.version == 0
4265
with:
4366
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)