mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-02 10:30:54 +00:00
update cibuildwheel
This commit is contained in:
parent
868aa2cd83
commit
04b78571c3
1 changed files with 4 additions and 11 deletions
15
.github/workflows/wheel.yml
vendored
15
.github/workflows/wheel.yml
vendored
|
|
@ -9,17 +9,12 @@ jobs:
|
||||||
build_wheels:
|
build_wheels:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
# macos-13 is for intel
|
||||||
|
os: ["ubuntu-24.04", "ubuntu-24.04-arm", "windows-latest", "macos-13", "macos-latest"]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: Build wheels on ${{ matrix.os }}
|
name: Build wheels on ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
|
||||||
if: runner.os == 'Linux'
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
with:
|
|
||||||
platforms: all
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -32,13 +27,11 @@ jobs:
|
||||||
make cython
|
make cython
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: pypa/cibuildwheel@v2.20.0
|
uses: pypa/cibuildwheel@v2.23.3
|
||||||
env:
|
env:
|
||||||
CIBW_TEST_REQUIRES: "pytest"
|
CIBW_TEST_REQUIRES: "pytest"
|
||||||
CIBW_TEST_COMMAND: "pytest {package}/test"
|
CIBW_TEST_COMMAND: "pytest {package}/test"
|
||||||
CIBW_ARCHS_LINUX: auto aarch64
|
CIBW_SKIP: "pp*"
|
||||||
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
|
|
||||||
CIBW_SKIP: "pp* cp38-macosx_*"
|
|
||||||
|
|
||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue