@@ -76,36 +76,56 @@ jobs:
76
76
with :
77
77
path : ./wheelhouse/*.whl
78
78
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]
83
83
84
- # steps:
85
- # - uses: actions/checkout@v4
86
- # with:
87
- # submodules: recursive
84
+ steps :
85
+ - uses : actions/checkout@v4
86
+ with :
87
+ submodules : recursive
88
+
89
+ - name : Set up QEMU
90
+ uses : docker/setup-qemu-action@v3
91
+ with :
92
+ platforms : all
88
93
89
- # - name: Set up QEMU
90
- # uses: docker/setup-qemu-action@v3
91
- # with:
92
- # platforms: all
94
+ - name : Build wheels
95
+
96
+ env :
97
+ CIBW_TEST_SKIP : " *"
98
+ CIBW_SKIP : " pp* *-manylinux*"
99
+ # fmod requires:
100
+ # default via musl: -exclude flag
101
+ # libdl.so.2 => /lib/ld-musl-x86_64.so.1 (0x7faeb127d000)
102
+ # librt.so.1 => /lib/ld-musl-x86_64.so.1 (0x7faeb127d000)
103
+ # libm.so.6 => /lib/ld-musl-x86_64.so.1 (0x7faeb127d000)
104
+ # libpthread.so.0 => /lib/ld-musl-x86_64.so.1 (0x7faeb127d000)
105
+ # libc.so.6 => /lib/ld-musl-x86_64.so.1 (0x7faeb127d000)
106
+ # deps:
107
+ # libgcc
108
+ # libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7faeb1253000)
109
+ # libstdc++
110
+ # libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7faeb0a00000)
111
+ CIBW_BEFORE_ALL : " apk add libgcc libstdc++"
112
+ CIBW_REPAIR_WHEEL_COMMAND : |
113
+ auditwheel repair -w {dest_dir} {wheel} \
114
+ --exclude libdl.so.2 \
115
+ --exclude librt.so.1 \
116
+ --exclude libm.so.6"
117
+ --exclude libpthread.so.0 \
118
+ --exclude libc.so.6
93
119
94
- # - name: Build wheels
95
-
96
- # env:
97
- # CIBW_TEST_SKIP: "*"
98
- # CIBW_SKIP: "pp* *-manylinux*"
99
- # CIBW_REPAIR_WHEEL_COMMAND: ''
100
120
101
- # - uses: actions/upload-artifact@v3
102
- # with:
103
- # path: ./wheelhouse/*.whl
121
+ - uses : actions/upload-artifact@v3
122
+ with :
123
+ path : ./wheelhouse/*.whl
104
124
105
125
106
126
upload_pypi :
107
127
name : Publish to PyPI
108
- needs : [build_wheels, build_manylinux_wheels_ubuntu, build_sdist ]
128
+ needs : [build_sdist, build_wheels, build_manylinux_wheels_ubuntu, build_musllinux_wheels_ubuntu ]
109
129
runs-on : ubuntu-latest
110
130
111
131
permissions :
0 commit comments