39
39
PIP_DISABLE_PIP_VERSION_CHECK : 1
40
40
# PYVERSIONS: changing the list of versions will change the number of
41
41
# expected distributions.
42
- EXPECTED : 63
42
+ EXPECTED : 67
43
43
44
44
permissions :
45
45
contents : read
78
78
# os_archs = {
79
79
# "ubuntu": ["x86_64", "i686", "aarch64"],
80
80
# "macos": ["arm64", "x86_64"],
81
- # "windows": ["x86", "AMD64"],
81
+ # "windows": ["x86", "AMD64", "ARM64" ],
82
82
# }
83
83
# # PYVERSIONS. Available versions: https://pypi.org/project/cibuildwheel/
84
84
# # PyPy versions are handled further below in the "pypy" step.
87
87
# # Some OS/arch combinations need overrides for the Python versions:
88
88
# os_arch_pys = {
89
89
# # ("macos", "arm64"): ["cp38", "cp39", "cp310", "cp311", "cp312"],
90
+ # ("windows", "ARM64"): ["cp311", "cp312", "cp313"],
90
91
# }
91
92
#
92
93
# #----- ^^^ ---------------------- ^^^ -----
@@ -102,6 +103,9 @@ jobs:
102
103
# }
103
104
# if the_os == "macos":
104
105
# them["os-version"] = "13"
106
+ # if the_os == "windows" and the_arch == "ARM64":
107
+ # them["os-version"] = "11-arm"
108
+ # them["minpy"] = "3.11"
105
109
# if the_arch == "aarch64":
106
110
# # https://github.com/pypa/cibuildwheel/issues/2257
107
111
# them["os-version"] = "22.04-arm"
@@ -142,7 +146,10 @@ jobs:
142
146
- {"os": "windows", "py": "cp311", "arch": "AMD64"}
143
147
- {"os": "windows", "py": "cp312", "arch": "AMD64"}
144
148
- {"os": "windows", "py": "cp313", "arch": "AMD64"}
145
- # [[[end]]] (checksum: 7c3758a4ca41df53d7ebcad68f12d0d0)
149
+ - {"os": "windows", "py": "cp311", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
150
+ - {"os": "windows", "py": "cp312", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
151
+ - {"os": "windows", "py": "cp313", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
152
+ # [[[end]]] (checksum: ce8e88f33d7db22f1e21a767e3256a00)
146
153
fail-fast : false
147
154
148
155
steps :
@@ -154,10 +161,20 @@ jobs:
154
161
- name : " Install Python"
155
162
uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
156
163
with :
157
- python-version : " 3.9" # Minimum of PYVERSIONS
164
+ python-version : " ${{ matrix.minpy || ' 3.9' }} " # Minimum of PYVERSIONS
158
165
cache : pip
159
166
cache-dependency-path : ' requirements/*.pip'
160
167
168
+ # rust toolchain is not currently installed on windows arm64 images https://github.com/actions/partner-runner-images/issues/77
169
+ - if : ${{ matrix.os-version == '11-arm' }}
170
+ name : Setup rust
171
+ id : setup-rust
172
+ shell : pwsh
173
+ run : |
174
+ Invoke-WebRequest https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe -OutFile .\rustup-init.exe
175
+ .\rustup-init.exe -y
176
+ Add-Content $env:GITHUB_PATH "$env:USERPROFILE\.cargo\bin"
177
+
161
178
- name : " Install tools"
162
179
run : |
163
180
python -m pip install -r requirements/kit.pip
0 commit comments