update cibuildwheel to 2.17 (#601)

This commit is contained in:
Inada Naoki 2024-05-04 16:49:22 +09:00 committed by GitHub
parent b389ccf2f7
commit 526ec9c923
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 10 deletions

View file

@ -17,7 +17,6 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.x' python-version: '3.x'
architecture: 'x64'
cache: "pip" cache: "pip"
cache-dependency-path: | cache-dependency-path: |
requirements.txt requirements.txt

View file

@ -14,29 +14,25 @@ jobs:
name: Build wheels on ${{ matrix.os }} name: Build wheels on ${{ matrix.os }}
steps: steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU - name: Set up QEMU
if: runner.os == 'Linux' if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
with: with:
platforms: arm64 platforms: all
- name: Set up Python 3.x - uses: actions/checkout@v4
uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
python-version: "3.x" python-version: "3.x"
cache: "pip" cache: "pip"
- name: Cythonize
- name: Prepare
shell: bash shell: bash
run: | run: |
pip install -r requirements.txt pip install -r requirements.txt
make cython make cython
- name: Build - name: Build
uses: pypa/cibuildwheel@v2.16.5 uses: pypa/cibuildwheel@v2.17.0
env: env:
CIBW_TEST_REQUIRES: "pytest" CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/test" CIBW_TEST_COMMAND: "pytest {package}/test"
@ -45,6 +41,7 @@ jobs:
CIBW_SKIP: pp* CIBW_SKIP: pp*
- name: Build pure Python wheel - name: Build pure Python wheel
if: runner.os == 'Linux'
env: env:
MSGPACK_PUREPYTHON: "1" MSGPACK_PUREPYTHON: "1"
run: | run: |