Skip to content

Commit 2d0a7e7

Browse files
committed
Fix release.yml
1 parent 31f1a98 commit 2d0a7e7

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

.github/workflows/release.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,48 @@ jobs:
2525
target: x86_64
2626
- runner: ubuntu-22.04
2727
target: x86
28+
# - runner: ubuntu-22.04
29+
# target: aarch64
30+
# - runner: ubuntu-22.04
31+
# target: armv7
32+
# - runner: ubuntu-22.04
33+
# target: s390x
34+
# - runner: ubuntu-22.04
35+
# target: ppc64le
36+
steps:
37+
- name: Run checkout
38+
uses: actions/checkout@v4
39+
40+
- name: Setup Python
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: 3.x
44+
45+
- name: Build wheels
46+
uses: PyO3/maturin-action@v1
47+
with:
48+
target: ${{ matrix.platform.target }}
49+
args: --release --out dist --find-interpreter --features=cjk
50+
sccache: 'true'
51+
manylinux: auto
52+
# before-script-linux: "apt-get update && apt-get install libssl-dev pkg-config -y"
53+
before-script-linux: "yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y"
54+
55+
- name: Upload wheels
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: wheels-linux-${{ matrix.platform.target }}
59+
path: dist
60+
61+
linux2:
62+
runs-on: ${{ matrix.platform.runner }}
63+
strategy:
64+
matrix:
65+
platform:
66+
# - runner: ubuntu-22.04
67+
# target: x86_64
68+
# - runner: ubuntu-22.04
69+
# target: x86
2870
- runner: ubuntu-22.04
2971
target: aarch64
3072
- runner: ubuntu-22.04
@@ -50,55 +92,13 @@ jobs:
5092
sccache: 'true'
5193
manylinux: auto
5294
before-script-linux: "apt-get update && apt-get install libssl-dev pkg-config -y"
53-
# before-script-linux: "yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y"
5495

5596
- name: Upload wheels
5697
uses: actions/upload-artifact@v4
5798
with:
5899
name: wheels-linux-${{ matrix.platform.target }}
59100
path: dist
60101

61-
# linux2:
62-
# runs-on: ${{ matrix.platform.runner }}
63-
# strategy:
64-
# matrix:
65-
# platform:
66-
# # - runner: ubuntu-22.04
67-
# # target: x86_64
68-
# # - runner: ubuntu-22.04
69-
# # target: x86
70-
# - runner: ubuntu-22.04
71-
# target: aarch64
72-
# - runner: ubuntu-22.04
73-
# target: armv7
74-
# # - runner: ubuntu-22.04
75-
# # target: s390x
76-
# # - runner: ubuntu-22.04
77-
# # target: ppc64le
78-
# steps:
79-
# - name: Run checkout
80-
# uses: actions/checkout@v4
81-
82-
# - name: Setup Python
83-
# uses: actions/setup-python@v5
84-
# with:
85-
# python-version: 3.x
86-
87-
# - name: Build wheels
88-
# uses: PyO3/maturin-action@v1
89-
# with:
90-
# target: ${{ matrix.platform.target }}
91-
# args: --release --out dist --find-interpreter --features=cjk
92-
# sccache: 'true'
93-
# manylinux: auto
94-
# before-script-linux: "apt-get update && apt-get install libssl-dev pkg-config -y"
95-
96-
# - name: Upload wheels
97-
# uses: actions/upload-artifact@v4
98-
# with:
99-
# name: wheels-linux-${{ matrix.platform.target }}
100-
# path: dist
101-
102102
musllinux:
103103
runs-on: ${{ matrix.platform.runner }}
104104
strategy:

0 commit comments

Comments
 (0)