diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9d75ed2..82b36eb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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/cibuildwheel@v2.22.0 + - uses: pypa/cibuildwheel@v3.3.0 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