Skip to content

Commit 164ac2f

Browse files
committed
feature: build musllinux wheels
1 parent 30d2f5a commit 164ac2f

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/build-upload.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,15 @@ jobs:
1818
- uses: pre-commit/action@v2.0.3
1919

2020
build_wheels:
21-
name: Build ${{ matrix.archs }} wheels on ${{ matrix.os }}
21+
name: Build ${{ matrix.archs }} ${{ matrix.build }} wheels on ${{ matrix.os }}
2222
needs: [lint]
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
matrix:
26+
os: [ubuntu-20.04]
27+
archs: ["x86_64, i686", "aarch64", "ppc64le", "s390x"]
28+
build: ["manylinux", "musllinux"]
2629
include:
27-
- os: ubuntu-20.04
28-
archs: "x86_64, i686"
29-
- os: ubuntu-20.04
30-
archs: "aarch64"
31-
- os: ubuntu-20.04
32-
archs: "ppc64le"
33-
- os: ubuntu-20.04
34-
archs: "s390x"
3530
- os: windows-2019
3631
archs: "AMD64"
3732
- os: windows-2019
@@ -57,6 +52,7 @@ jobs:
5752
uses: pypa/cibuildwheel@2.6.0
5853
env:
5954
CIBW_ARCHS: "${{ matrix.archs }}"
55+
CIBW_BUILD: "${{ matrix.build && '*-' || ''}}${{ matrix.build }}*"
6056
CIBW_PRERELEASE_PYTHONS: "${{ !startsWith(github.ref, 'refs/tags/v') }}"
6157

6258
- uses: actions/upload-artifact@v3

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
requires = ["setuptools", "wheel"]
33

44
[tool.cibuildwheel]
5-
skip = "*-musllinux*"
65
test-requires = "pytest"
76
test-command = "pytest --pyargs pybase64"
87

0 commit comments

Comments
 (0)