8
8
workflow_dispatch :
9
9
10
10
env :
11
- MATURIN_VERSION : 1.4.0
11
+ MATURIN_VERSION : 1.7.4
12
12
13
13
jobs :
14
14
test :
35
35
needs : test
36
36
strategy :
37
37
matrix :
38
- python :
39
- - version : ' 3.7'
40
- - version : ' 3.8'
41
- - version : ' 3.9'
42
- - version : ' 3.10'
43
- - version : ' 3.11'
44
- - version : ' 3.12'
45
- - version : ' 3.13'
38
+ python : ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
46
39
platform :
47
40
- os : ubuntu-22.04
48
41
- os : macos-12
@@ -54,15 +47,15 @@ jobs:
54
47
- uses : actions/checkout@v4
55
48
- uses : actions/setup-python@v5
56
49
with :
57
- python-version : ${{ matrix.python.constraints || matrix.python.version }}
58
- # allow-prereleases: ${{ matrix.python.version == "3.13" }}
50
+ python-version : ${{ matrix.python }}
51
+ # allow-prereleases: ${{ matrix.python == "3.13" }}
59
52
- name : Build Wheels - Linux
60
53
if : matrix.platform.os == 'ubuntu-22.04'
61
54
uses : PyO3/maturin-action@v1
62
55
with :
63
56
maturin-version : ${{ env.MATURIN_VERSION }}
64
57
manylinux : auto
65
- args : -i python${{ matrix.python.version }} --release --strip --sdist
58
+ args : -i python${{ matrix.python }} --release --strip --sdist
66
59
67
60
- name : Check that the source distribution installed correctly
68
61
if : matrix.platform.os == 'ubuntu-22.04'
92
85
- name : Upload wheels
93
86
uses : actions/upload-artifact@v4
94
87
with :
95
- name : wheels-${{ matrix.platform.os }}-${{ matrix.platform.arch || 'x86_64' }}-${{ matrix.python.version }}
88
+ name : wheels-${{ matrix.platform.os }}-${{ matrix.platform.arch || 'x86_64' }}-${{ matrix.python }}
96
89
path : target/wheels
97
90
98
91
linux-cross :
@@ -114,10 +107,10 @@ jobs:
114
107
maturin-version : ${{ env.MATURIN_VERSION }}
115
108
target : ${{ matrix.target }}
116
109
manylinux : auto
117
- args : --release --strip -i python${{ matrix.python.version }}
110
+ args : --release --strip -i python${{ matrix.python }}
118
111
- uses : actions/upload-artifact@v4
119
112
with :
120
- name : wheels-${{ matrix.target }}-${{ matrix.python.version }}
113
+ name : wheels-${{ matrix.target }}-${{ matrix.python }}
121
114
path : target/wheels
122
115
123
116
wasm-emscripten :
0 commit comments