Skip to content

Commit babcbe6

Browse files
committed
Fix release.yml
1 parent 6beeb87 commit babcbe6

File tree

1 file changed

+42
-4
lines changed

1 file changed

+42
-4
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
target: aarch64
7171
- runner: ubuntu-22.04
7272
target: armv7
73-
- runner: ubuntu-22.04
74-
target: s390x
75-
- runner: ubuntu-22.04
76-
target: ppc64le
73+
# - runner: ubuntu-22.04
74+
# target: s390x
75+
# - runner: ubuntu-22.04
76+
# target: ppc64le
7777
steps:
7878
- name: Run checkout
7979
uses: actions/checkout@v4
@@ -107,6 +107,43 @@ jobs:
107107
target: x86_64
108108
- runner: ubuntu-22.04
109109
target: x86
110+
# - runner: ubuntu-22.04
111+
# target: aarch64
112+
# - runner: ubuntu-22.04
113+
# target: armv7
114+
steps:
115+
- name: Run checkout
116+
uses: actions/checkout@v4
117+
118+
- name: Setup Python
119+
uses: actions/setup-python@v5
120+
with:
121+
python-version: 3.x
122+
123+
- name: Build wheels
124+
uses: PyO3/maturin-action@v1
125+
with:
126+
target: ${{ matrix.platform.target }}
127+
args: --release --out dist --find-interpreter --features=cjk
128+
sccache: 'true'
129+
manylinux: musllinux_1_2
130+
before-script-linux: "yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y"
131+
132+
- name: Upload wheels
133+
uses: actions/upload-artifact@v4
134+
with:
135+
name: wheels-musllinux-${{ matrix.platform.target }}
136+
path: dist
137+
138+
musllinux2:
139+
runs-on: ${{ matrix.platform.runner }}
140+
strategy:
141+
matrix:
142+
platform:
143+
# - runner: ubuntu-22.04
144+
# target: x86_64
145+
# - runner: ubuntu-22.04
146+
# target: x86
110147
- runner: ubuntu-22.04
111148
target: aarch64
112149
- runner: ubuntu-22.04
@@ -127,6 +164,7 @@ jobs:
127164
args: --release --out dist --find-interpreter --features=cjk
128165
sccache: 'true'
129166
manylinux: musllinux_1_2
167+
before-script-linux: "apt-get update && apt-get install libssl-dev pkg-config -y"
130168

131169
- name: Upload wheels
132170
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)