diff --git a/pyproject.toml b/pyproject.toml index 5f752ab8..d282a4b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,15 +93,14 @@ strict_equality = true ignore_missing_imports = true [tool.cibuildwheel] -# Skip musllinux builds for the moment -skip = "*-musllinux_*" test-extras = "test" test-command = "pytest {project}/tests" [tool.cibuildwheel.linux] before-all = [ - "yum update -y", - "yum install -y mpfr-devel", + "if command -v yum > /dev/null; then yum update -y; yum install -y mpfr-devel; fi", + "if command -v apt-get > /dev/null; then apt-get update -y; apt-get install -y libmpfr-dev; fi", + "if command -v apk > /dev/null; then apk update; apk add mpfr-dev gmp-dev; fi", "curl -L https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2 -o boost_1_87_0.tar.bz2", "tar --bzip2 -xf boost_1_87_0.tar.bz2", "mv boost_1_87_0/boost /usr/include/boost",