Skip to content

Commit 4887aa3

Browse files
committed
release.yml - read musllinux
1 parent d555c7e commit 4887aa3

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,36 +76,37 @@ jobs:
7676
with:
7777
path: ./wheelhouse/*.whl
7878

79-
# build_musllinux_wheels_ubuntu:
80-
# name: Build musllinux wheels on ubuntu-latest
81-
# runs-on: ubuntu-latest
82-
# needs: [build_sdist]
79+
build_musllinux_wheels_ubuntu:
80+
name: Build musllinux wheels on ubuntu-latest
81+
runs-on: ubuntu-latest
82+
needs: [build_sdist]
8383

84-
# steps:
85-
# - uses: actions/checkout@v4
86-
# with:
87-
# submodules: recursive
84+
steps:
85+
- uses: actions/checkout@v4
86+
with:
87+
submodules: recursive
8888

89-
# - name: Set up QEMU
90-
# uses: docker/setup-qemu-action@v3
91-
# with:
92-
# platforms: all
89+
- name: Set up QEMU
90+
uses: docker/setup-qemu-action@v3
91+
with:
92+
platforms: all
9393

94-
# - name: Build wheels
95-
# uses: joerick/[email protected]
96-
# env:
97-
# CIBW_TEST_SKIP: "*"
98-
# CIBW_SKIP: "pp* *-manylinux*"
99-
# CIBW_REPAIR_WHEEL_COMMAND: ''
94+
- name: Build wheels
95+
uses: joerick/[email protected]
96+
env:
97+
CIBW_TEST_SKIP: "*"
98+
CIBW_SKIP: "pp* *-manylinux*"
99+
# pthread and dl are both available via standard ld-musl-{arch}.so.1, so we exclude them
100+
CIBW_REPAIR_WHEEL_COMMAND: "auditwheel repair -w {dest_dir} {wheel} --exclude libdl.so.2 --exclude libpthread.so.0"
100101

101-
# - uses: actions/upload-artifact@v3
102-
# with:
103-
# path: ./wheelhouse/*.whl
102+
- uses: actions/upload-artifact@v3
103+
with:
104+
path: ./wheelhouse/*.whl
104105

105106

106107
upload_pypi:
107108
name: Publish to PyPI
108-
needs: [build_wheels, build_manylinux_wheels_ubuntu, build_sdist]
109+
needs: [build_sdist, build_wheels, build_manylinux_wheels_ubuntu, build_musllinux_wheels_ubuntu]
109110
runs-on: ubuntu-latest
110111

111112
permissions:

0 commit comments

Comments
 (0)