Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
# PYVERSIONS: changing the list of versions will change the number of
# expected distributions.
EXPECTED: 63
EXPECTED: 67

permissions:
contents: read
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# os_archs = {
# "ubuntu": ["x86_64", "i686", "aarch64"],
# "macos": ["arm64", "x86_64"],
# "windows": ["x86", "AMD64"],
# "windows": ["x86", "AMD64", "ARM64"],
# }
# # PYVERSIONS. Available versions: https://pypi.org/project/cibuildwheel/
# # PyPy versions are handled further below in the "pypy" step.
Expand All @@ -87,6 +87,7 @@ jobs:
# # Some OS/arch combinations need overrides for the Python versions:
# os_arch_pys = {
# # ("macos", "arm64"): ["cp38", "cp39", "cp310", "cp311", "cp312"],
# ("windows", "ARM64"): ["cp311", "cp312", "cp313"],
# }
#
# #----- ^^^ ---------------------- ^^^ -----
Expand All @@ -102,6 +103,9 @@ jobs:
# }
# if the_os == "macos":
# them["os-version"] = "13"
# if the_os == "windows" and the_arch == "ARM64":
# them["os-version"] = "11-arm"
# them["minpy"] = "3.11"
# if the_arch == "aarch64":
# # https://github.com/pypa/cibuildwheel/issues/2257
# them["os-version"] = "22.04-arm"
Expand Down Expand Up @@ -142,7 +146,10 @@ jobs:
- {"os": "windows", "py": "cp311", "arch": "AMD64"}
- {"os": "windows", "py": "cp312", "arch": "AMD64"}
- {"os": "windows", "py": "cp313", "arch": "AMD64"}
# [[[end]]] (checksum: 7c3758a4ca41df53d7ebcad68f12d0d0)
- {"os": "windows", "py": "cp311", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
- {"os": "windows", "py": "cp312", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
- {"os": "windows", "py": "cp313", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
# [[[end]]] (checksum: ce8e88f33d7db22f1e21a767e3256a00)
fail-fast: false

steps:
Expand All @@ -154,10 +161,20 @@ jobs:
- name: "Install Python"
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.9" # Minimum of PYVERSIONS
python-version: "${{ matrix.minpy || '3.9' }}" # Minimum of PYVERSIONS
cache: pip
cache-dependency-path: 'requirements/*.pip'

# rust toolchain is not currently installed on windows arm64 images https://github.com/actions/partner-runner-images/issues/77
- if: ${{ matrix.os-version == '11-arm' }}
name: Setup rust
id: setup-rust
shell: pwsh
run: |
Invoke-WebRequest https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe -OutFile .\rustup-init.exe
.\rustup-init.exe -y
Add-Content $env:GITHUB_PATH "$env:USERPROFILE\.cargo\bin"

- name: "Install tools"
run: |
python -m pip install -r requirements/kit.pip
Expand Down