Skip to content

Commit

Permalink
Enable musllinux wheels building #57
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Oct 14, 2022
1 parent c3d5d76 commit cfad3db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,14 @@ on: [push]

jobs:
build_wheels:
name: Build ${{ matrix.archs }} wheels on ${{ matrix.os }}
name: Build ${{ matrix.archs }} ${{ matrix.build }} wheels on ${{ matrix.os }}
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 @@ -43,6 +38,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS: "${{ matrix.archs }}"
CIBW_BUILD: "${{ matrix.build && '*-' || ''}}${{ matrix.build }}*"
CIBW_PRERELEASE_PYTHONS: "${{ !startsWith(github.ref, 'refs/tags/v') }}"

- uses: actions/upload-artifact@v2
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]

[tool.cibuildwheel]
skip = "*-musllinux*"

[tool.setuptools_scm]
write_to = "xxhash/version.py"
local_scheme = "no-local-version"
Expand Down

0 comments on commit cfad3db

Please sign in to comment.