@@ -76,36 +76,50 @@ 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
+ uses : joerick/cibuildwheel@v2.21.2
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 : " auditwheel repair -w {dest_dir} {wheel} --exclude libdl.so.2 --exclude librt.so.1 --exclude libm.so.6 --exclude libpthread.so.0 --exclude libc.so.6"
93
113
94
- # - name: Build wheels
95
- # uses: joerick/cibuildwheel@v2.21.2
96
- # env:
97
- # CIBW_TEST_SKIP: "*"
98
- # CIBW_SKIP: "pp* *-manylinux*"
99
- # CIBW_REPAIR_WHEEL_COMMAND: ''
100
114
101
- # - uses: actions/upload-artifact@v3
102
- # with:
103
- # path: ./wheelhouse/*.whl
115
+ - uses : actions/upload-artifact@v3
116
+ with :
117
+ path : ./wheelhouse/*.whl
104
118
105
119
106
120
upload_pypi :
107
121
name : Publish to PyPI
108
- needs : [build_wheels, build_manylinux_wheels_ubuntu, build_sdist ]
122
+ needs : [build_sdist, build_wheels, build_manylinux_wheels_ubuntu, build_musllinux_wheels_ubuntu ]
109
123
runs-on : ubuntu-latest
110
124
111
125
permissions :
0 commit comments