From ac5ec0ea3a4944904c3166cedacc466eca865a0c Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 15 May 2024 21:06:57 -0400 Subject: [PATCH] ci(build): enable musllinux (#43) --- .github/workflows/build_wheel.yml | 3 +++ README.md | 1 + pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index bf1f086..129da5c 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -24,6 +24,9 @@ jobs: - os: ubuntu-latest python: 311 platform_id: manylinux_x86_64 + - os: ubuntu-latest + python: 311 + platform_id: musllinux_x86_64 # macos-x86-64 - os: macos-13 python: 311 diff --git a/README.md b/README.md index 58072dc..3e5102a 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ The project is powered by [scikit-build-core](https://github.com/scikit-build/sc | OS | Arch | Bit | Conditions | New in | | ------- | ------- | --- | -------------- | ----------- | | Linux | x86_64 | 64 | glibc >= 2.17 | v18.18.0 | +| Linux | x86_64 | 64 | musl >= 1.2 | v20.14.0 | | Linux | aarch64 | 64 | glibc >= 2.17 | v20.13.0 | | macOS | x86_64 | 64 | >= macOS-10.15 | v18.18.0 | | macOS | arm64 | 64 | >= macOS-11 | v20.11.1 | diff --git a/pyproject.toml b/pyproject.toml index de35504..f096b37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" [tool.cibuildwheel] build = ["cp311-*"] -skip = ["*-win32", "*-manylinux_i686", "*-musllinux*"] +skip = ["*-win32", "*-manylinux_i686"] build-verbosity = 1 before-test = ["pip install --no-deps cmd/"] test-command = "node -h && npm --version && npx --version && python -m nodejs_wheel --version && python {project}/tests/test_api.py"