Skip to content

Commit 9a38896

Browse files
committed
ci: add musllinux wheels
1 parent bd6f2ef commit 9a38896

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/wheel.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
matrix:
1212
image:
1313
- 'quay.io/pypa/manylinux2014_aarch64'
14+
- 'quay.io/pypa/musllinux_1_1_aarch64'
1415
- 'quay.io/pypa/manylinux2014_i686'
1516
- 'quay.io/pypa/manylinux2014_x86_64'
17+
- 'quay.io/pypa/musllinux_1_1_x86_64'
1618
py:
1719
- 'cp38-cp38'
1820
- 'cp39-cp39'
@@ -24,7 +26,7 @@ jobs:
2426
- uses: actions/checkout@v4
2527

2628
- name: Set up QEMU
27-
if: ${{ matrix.image == 'quay.io/pypa/manylinux2014_aarch64' }}
29+
if: ${{ endsWith(matrix.image, 'aarch64') }}
2830
uses: docker/setup-qemu-action@v3
2931

3032
- name: Build Wheel

ci/build-manylinux-wheel.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
set -ex
99

1010
# Missing libffi on aarch64
11-
yum install -y libffi-devel
11+
if [ -x /usr/bin/yum ]; then
12+
yum install -y libffi-devel
13+
fi
1214

1315
if [ -e /tmp/wheels ]; then
1416
echo "/tmp/wheels should not exist!"

docs/news.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Changes
8787
* CI now builds wheels with pip instead of ``setup.py`` directly.
8888
* Official support for CPython 3.12. Binary wheels for 3.12 are now published
8989
during releases. There were no meaningful code changes to support Python 3.12.
90+
* Binary wheels for musllinux_1_1 x86_64 and aarch64 are now being built and
91+
published.
9092

9193
0.21.0 (released 2023-04-16)
9294
============================

0 commit comments

Comments
 (0)