Refactor building wheels (#436)

This commit is contained in:
Fangjun Kuang
2023-11-20 12:33:06 +08:00
committed by GitHub
parent e6a2d0da3b
commit 38ad05bdf8
10 changed files with 404 additions and 78 deletions

View File

@@ -17,12 +17,13 @@ concurrency:
jobs:
build_wheels_aarch64:
name: Build wheels for aarch64 on ${{ matrix.os }}
name: ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
steps:
- uses: actions/checkout@v4
@@ -35,9 +36,9 @@ jobs:
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
# for a list of versions
- name: Build wheels
uses: pypa/cibuildwheel@v2.11.4
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BEFORE_BUILD: "pip install -U cmake numpy"
CIBW_BUILD: "${{ matrix.python-version}}-* "
CIBW_SKIP: "cp27-* cp35-* cp36-* *-win32 pp* *-musllinux* *-manylinux_i686"
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_LINUX: aarch64