@@ -22,24 +22,18 @@ jobs:
22
22
runs-on : ${{ matrix.platform.runner }}
23
23
strategy :
24
24
matrix :
25
+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
25
26
platform :
26
27
- runner : ubuntu-latest
27
28
target : x86_64
28
29
- runner : ubuntu-latest
29
30
target : x86
30
- # - runner: ubuntu-latest
31
- # target: aarch64
32
- # - runner: ubuntu-latest
33
- # target: armv7
34
- # - runner: ubuntu-latest
35
- # target: s390x
36
- # - runner: ubuntu-latest
37
- # target: ppc64le
31
+
38
32
steps :
39
33
- uses : actions/checkout@v4
40
34
- uses : actions/setup-python@v5
41
35
with :
42
- python-version : " 3.10 "
36
+ python-version : ${{ matrix.python-version }}
43
37
44
38
- name : Build wheels
45
39
uses : PyO3/maturin-action@v1.44.0
53
47
- name : Upload wheels
54
48
uses : actions/upload-artifact@v4
55
49
with :
56
- name : wheels-linux-${{ matrix.platform.target }}
50
+ name : wheels-linux-${{ matrix.platform.target }}-py${{ matrix.python-version }}
57
51
path : dist
58
52
59
- # musllinux:
60
- # runs-on: ${{ matrix.platform.runner }}
61
- # strategy:
62
- # matrix:
63
- # platform:
64
- # - runner: ubuntu-latest
65
- # target: x86_64
66
- # # - runner: ubuntu-latest
67
- # # target: x86
68
- # # - runner: ubuntu-latest
69
- # # target: aarch64
70
- # # - runner: ubuntu-latest
71
- # # target: armv7
72
- # steps:
73
- # - uses: actions/checkout@v4
74
- # - uses: actions/setup-python@v5
75
- # with:
76
- # python-version: 3.x
77
- # - name: Build wheels
78
- # uses: PyO3/maturin-action@v1.44.0
79
- # with:
80
- # target: ${{ matrix.platform.target }}
81
- # args: --release --out dist --find-interpreter
82
- # sccache: 'true'
83
- # manylinux: musllinux_1_2
84
- # before-script-linux: (apt-get update && apt-get install -y apt-utils && apt-get install -y pkg-config libssl-dev) || (yum install openssl openssl-devel -y)
85
- # - name: Upload wheels
86
- # uses: actions/upload-artifact@v4
87
- # with:
88
- # name: wheels-musllinux-${{ matrix.platform.target }}
89
- # path: dist
90
-
91
53
macos :
92
54
runs-on : ${{ matrix.platform.runner }}
93
55
strategy :
134
96
runs-on : ubuntu-latest
135
97
environment : release
136
98
if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
137
- # needs: [linux, macos, musllinux, sdist]
138
99
needs : [linux, macos, sdist]
139
100
permissions :
140
101
# Use to sign the release artifacts
0 commit comments