Skip to content

Commit

Permalink
wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
gplepage committed Dec 26, 2024
1 parent 2c1ca71 commit 875450b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build wheels
# see https://github.com/pypa/cibuildwheel

on: [workflow_dispatch]

Expand All @@ -12,6 +11,7 @@ jobs:
# os: [ubuntu-20.04]
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# os: [ubuntu-latest, macos13, macos-latest]
# see https://github.com/actions/runner-images
steps:
- uses: actions/checkout@v4
Expand All @@ -20,22 +20,23 @@ jobs:
- uses: actions/setup-python@v5

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.18.1
run: python -m pip install cibuildwheel==2.22.0

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
env:
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-musllinux*
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-*
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: auto64
CIBW_ARCHS_LINUX: auto64
# CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
# CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"
CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
path: ./wheelhouse/*.whl

0 comments on commit 875450b

Please sign in to comment.