diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 63ec8e4..60704fd 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -8,8 +8,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macos-12, macos-14, windows-2019] + os: [ubuntu-latest, macos-12, macos-14, windows-2019] arch: [x86_64, aarch64] + build: [""] exclude: - os: macos-12 arch: aarch64 @@ -17,6 +18,16 @@ jobs: arch: x86_64 - os: windows-2019 arch: aarch64 + include: + - os: ubuntu-latest + arch: aarch64 + build: "pp*" + - os: ubuntu-latest + arch: aarch64 + build: "cp*manylinux*" + - os: ubuntu-latest + arch: aarch64 + build: "cp*musllinux*" steps: - name: Checkout repo uses: actions/checkout@v4 @@ -30,10 +41,11 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.21.2 env: + CIBW_BUILD: ${{ matrix.build }} CIBW_ARCHS_LINUX: ${{ matrix.arch }} - uses: actions/upload-artifact@v4 with: - name: wheels-${{ matrix.os }}-${{ matrix.arch }} + name: wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build }} path: ./wheelhouse/*.whl if-no-files-found: error make_sdist: