Skip to content

Commit

Permalink
ci: add musllinux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Nov 1, 2023
1 parent bd6f2ef commit 9a38896
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ jobs:
matrix:
image:
- 'quay.io/pypa/manylinux2014_aarch64'
- 'quay.io/pypa/musllinux_1_1_aarch64'
- 'quay.io/pypa/manylinux2014_i686'
- 'quay.io/pypa/manylinux2014_x86_64'
- 'quay.io/pypa/musllinux_1_1_x86_64'
py:
- 'cp38-cp38'
- 'cp39-cp39'
Expand All @@ -24,7 +26,7 @@ jobs:
- uses: actions/checkout@v4

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

- name: Build Wheel
Expand Down
4 changes: 3 additions & 1 deletion ci/build-manylinux-wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
set -ex

# Missing libffi on aarch64
yum install -y libffi-devel
if [ -x /usr/bin/yum ]; then
yum install -y libffi-devel
fi

if [ -e /tmp/wheels ]; then
echo "/tmp/wheels should not exist!"
Expand Down
2 changes: 2 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Changes
* CI now builds wheels with pip instead of ``setup.py`` directly.
* Official support for CPython 3.12. Binary wheels for 3.12 are now published
during releases. There were no meaningful code changes to support Python 3.12.
* Binary wheels for musllinux_1_1 x86_64 and aarch64 are now being built and
published.

0.21.0 (released 2023-04-16)
============================
Expand Down

0 comments on commit 9a38896

Please sign in to comment.