Skip to content

Commit

Permalink
update cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgamut committed Aug 26, 2024
1 parent 787f4b0 commit a601ef8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,29 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, windows-2019, macos-10.15 ]
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
runs-on: ${{ matrix.os }}
name: build and test wheels on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- name: Build wheels
uses: pypa/cibuildwheel@v2.1.3
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_SKIP: "cp310-* pp*"
CIBW_PRERELEASE_PYTHONS: False
CIBW_SKIP: "cp36* cp313-* pp*"
CIBW_BUILD_FRONTEND: "pip"
CIBW_BEFORE_BUILD: "python -m pip install numpy>=1.14 pybind11>=2.2 --prefer-binary"
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest -v {project}"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_MACOS: "x86_64 ARM64"
CIBW_ARCHS_WINDOWS: "AMD64"

- name: upload wheel artifacts temporarily
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
retention-days: 1

0 comments on commit a601ef8

Please sign in to comment.