Skip to content

Commit

Permalink
feature: build musllinux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jun 5, 2022
1 parent 30d2f5a commit 164ac2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
requires = ["setuptools", "wheel"]

[tool.cibuildwheel]
skip = "*-musllinux*"
test-requires = "pytest"
test-command = "pytest --pyargs pybase64"

Expand Down

0 comments on commit 164ac2f

Please sign in to comment.