mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +00:00
ci: add support for building windows on arm wheels (#643)
This commit is contained in:
parent
d9873dab04
commit
c2a9f1fda5
2 changed files with 10 additions and 6 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -9,9 +9,13 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
os: ["ubuntu-latest", "windows-latest", "windows-11-arm", "macos-latest"]
|
||||
py: ["3.14-dev", "3.13", "3.12", "3.11", "3.10", "3.9"]
|
||||
|
||||
exclude:
|
||||
- os: windows-11-arm
|
||||
py: "3.9"
|
||||
- os: windows-11-arm
|
||||
py: "3.10"
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Run test with Python ${{ matrix.py }} on ${{ matrix.os }}
|
||||
|
||||
|
@ -29,8 +33,8 @@ jobs:
|
|||
- name: Prepare
|
||||
shell: bash
|
||||
run: |
|
||||
pip install -U pip
|
||||
pip install -r requirements.txt pytest
|
||||
python -m pip install -U pip
|
||||
python -m pip install -r requirements.txt pytest
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
|
|
4
.github/workflows/wheel.yml
vendored
4
.github/workflows/wheel.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
# macos-13 is for intel
|
||||
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "windows-latest", "macos-13", "macos-latest"]
|
||||
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "windows-latest", "windows-11-arm", "macos-13", "macos-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Build wheels on ${{ matrix.os }}
|
||||
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
env:
|
||||
CIBW_TEST_REQUIRES: "pytest"
|
||||
CIBW_TEST_COMMAND: "pytest {package}/test"
|
||||
CIBW_SKIP: "pp* cp38-*"
|
||||
CIBW_SKIP: "pp* cp38-* cp39-win_arm64 cp310-win_arm64"
|
||||
|
||||
- name: Build sdist
|
||||
if: runner.os == 'Linux' && runner.arch == 'X64'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue