Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 9 additions & 26 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,51 +34,34 @@ jobs:


build_wheels:
name: Wheels on ${{ matrix.os }}${{ matrix.extra }}
name: Wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch_linux: ["auto"]
extra: [""]
include:
- os: ubuntu-latest
arch_linux: "aarch64"
extra: " - aarch64"
artifact-extra: "-aarch64"
- os: ubuntu-latest
arch_linux: "ppc64le"
extra: " - ppc64le"
artifact-extra: "-ppc64le"
- os: ubuntu-latest
arch_linux: "s390x"
extra: " - s390x"
artifact-extra: "-s390x"
os: [ubuntu-latest, windows-latest, macos-latest, ubuntu-24.04-arm]

steps:
- uses: actions/checkout@v4

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- uses: pypa/[email protected]
- uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_ARCHS_LINUX: ${{ matrix.arch_linux }}
CIBW_PRERELEASE_PYTHONS: true
CIBW_SKIP: "pp* cp38-macosx*"

- name: Verify clean directory
run: git diff --exit-code
shell: bash

- name: List wheels
run: ls -l wheelhouse/
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.os }}${{ matrix.artifact-extra }}
name: wheel-${{ matrix.os }}
path: wheelhouse/*.whl
compression-level: 0
if-no-files-found: error
Expand Down
Loading