diff --git a/.github/workflows/build-upload.yml b/.github/workflows/build-upload.yml index 86f16e79..42180364 100644 --- a/.github/workflows/build-upload.yml +++ b/.github/workflows/build-upload.yml @@ -18,20 +18,15 @@ jobs: - uses: pre-commit/action@v2.0.3 build_wheels: - name: Build ${{ matrix.archs }} wheels on ${{ matrix.os }} + name: Build ${{ matrix.archs }} ${{ matrix.build }} wheels on ${{ matrix.os }} needs: [lint] runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-20.04] + archs: ["x86_64, i686", "aarch64", "ppc64le", "s390x"] + build: ["manylinux", "musllinux"] include: - - os: ubuntu-20.04 - archs: "x86_64, i686" - - os: ubuntu-20.04 - archs: "aarch64" - - os: ubuntu-20.04 - archs: "ppc64le" - - os: ubuntu-20.04 - archs: "s390x" - os: windows-2019 archs: "AMD64" - os: windows-2019 @@ -57,6 +52,7 @@ jobs: uses: pypa/cibuildwheel@2.6.0 env: CIBW_ARCHS: "${{ matrix.archs }}" + CIBW_BUILD: "${{ matrix.build && '*-' || ''}}${{ matrix.build }}*" CIBW_PRERELEASE_PYTHONS: "${{ !startsWith(github.ref, 'refs/tags/v') }}" - uses: actions/upload-artifact@v3 diff --git a/pyproject.toml b/pyproject.toml index b88e0689..d3a9418d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,6 @@ requires = ["setuptools", "wheel"] [tool.cibuildwheel] -skip = "*-musllinux*" test-requires = "pytest" test-command = "pytest --pyargs pybase64"