Skip to content

Commit b3d92e5

Browse files
committed
take care of musl linux
1 parent 52f3737 commit b3d92e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: python -m cibuildwheel --output-dir wheelhouse
2727
# to supply options, put them in 'env', like:
2828
env:
29-
CIBW_BEFORE_BUILD: "yum install -y openssl openssl-devel"
29+
CIBW_BEFORE_BUILD_LINUX: ${{ matrix.linux_type == 'musllinux' && 'apk add --no-cache openssl-dev' || 'yum install -y openssl openssl-devel' }}
3030

3131
- uses: actions/upload-artifact@v4
3232
with:

0 commit comments

Comments
 (0)