1212 matrix :
1313 buildplat :
1414 - { runs_on: ubuntu-20.04, sys: manylinux, arch: x86_64, benv: "" }
15- - { runs_on: macos-12, sys: macosx, arch: x86_64, benv: "12.0" }
15+ - { runs_on: ubuntu-20.04, sys: musllinux, arch: x86_64, benv: "" }
16+ - { runs_on: ubuntu-20.04, sys: musllinux, arch: aarch64, benv: "" }
1617 - { runs_on: macos-14, sys: macosx, arch: arm64, benv: "14.0" }
1718 python :
1819 - { cp: "cp38", rel: "3.8" }
3334 - name : Install cibuildwheel
3435 run : python -m pip install cibuildwheel
3536
36- - name : Build wheels (Linux)
37- if : ${{ runner.os != 'macOS ' }}
37+ - name : Build wheels (Linux glibc )
38+ if : ${{ matrix.buildplat.sys == 'manylinux ' }}
3839 run : python -m cibuildwheel --output-dir wheelhouse
3940 env :
4041 CIBW_BUILD : ${{ matrix.python.cp }}-${{ matrix.buildplat.sys }}*
@@ -50,11 +51,25 @@ jobs:
5051 rsync -av --ignore-existing /usr/share/aclocal/*.m4 /usr/local/share/aclocal/
5152 fi &&
5253 ./build-deps.sh
53- CIBW_MANYLINUX_X86_64_IMAGE : quay.io/pypa/manylinux2014_x86_64
54+ CIBW_MANYLINUX_X86_64_IMAGE : quay.io/pypa/manylinux_2_28_x86_64
55+ CIBW_SKIP : " *-win* *-manylinux_i686 pp*"
56+
57+ - name : Build wheels (Linux musl)
58+ if : ${{ matrix.buildplat.sys == 'musllinux' }}
59+ run : python -m cibuildwheel --output-dir wheelhouse
60+ env :
61+ CIBW_BUILD : ${{ matrix.python.cp }}-${{ matrix.buildplat.sys }}*
62+ CIBW_ARCHS_LINUX : " x86_64 aarch64"
63+ CIBW_BEFORE_ALL_LINUX : >
64+ apk add build-base git autoconf-archive autoconf automake libtool bzip2-dev icu-dev libxml2-dev libexttextcat-dev libtool rsync &&
65+ mkdir -p /usr/local/share/aclocal/ && rsync -av --ignore-existing /usr/share/aclocal/*.m4 /usr/local/share/aclocal/ &&
66+ ./build-deps.sh
67+ CIBW_MUSLLINUX_X86_64_IMAGE : quay.io/pypa/musllinux_1_1_x86_64
68+ CIBW_MUSLLINUX_AARCH64_IMAGE : quay.io/pypa/musllinux_1_1_aarch64
5469 CIBW_SKIP : " *-win* *-manylinux_i686 pp*"
5570
5671 - name : Build wheels (macOS)
57- if : ${{ runner.os == 'macOS' && runner .python != '3.8 ' }}
72+ if : ${{ runner.os == 'macOS' && matrix .python.cp != 'cp38 ' }}
5873 run : python -m cibuildwheel --output-dir wheelhouse
5974 env :
6075 CIBW_BUILD : ${{ matrix.python.cp }}-${{ matrix.buildplat.sys }}*
6580 brew install frog
6681
6782 - uses : actions/upload-artifact@v4
68- if : ${{ ! (runner.os == 'macOS' && runner .python == '3.8') }}
83+ if : ${{ ! (runner.os == 'macOS' && matrix .python.cp == '3.8') }}
6984 with :
7085 name : ${{matrix.python.cp}}-${{matrix.buildplat.sys}}-${{matrix.buildplat.arch}}
7186 path : ./wheelhouse/*.whl
0 commit comments