18
18
permissions :
19
19
contents : read
20
20
21
+ env :
22
+ BASE : --out dist -m ua-parser-py/Cargo.toml
23
+ COMMON : --release $BASE
24
+
21
25
jobs :
22
26
linux :
23
27
runs-on : ${{ matrix.platform.runner }}
@@ -26,12 +30,12 @@ jobs:
26
30
platform :
27
31
- runner : ubuntu-latest
28
32
target : x86_64
29
- - runner : ubuntu-latest
30
- target : x86
33
+ # - runner: ubuntu-latest
34
+ # target: x86
31
35
- runner : ubuntu-latest
32
36
target : aarch64
33
- - runner : ubuntu-latest
34
- target : armv7
37
+ # - runner: ubuntu-latest
38
+ # target: armv7
35
39
steps :
36
40
- uses : actions/checkout@v4
37
41
- uses : actions/setup-python@v5
41
45
uses : PyO3/maturin-action@v1
42
46
with :
43
47
target : ${{ matrix.platform.target }}
44
- args : --release --out dist --zig
48
+ args : ${{ env.COMMON }} --zig
45
49
sccache : ' true'
46
50
manylinux : auto
47
51
- name : Upload wheels
@@ -57,12 +61,12 @@ jobs:
57
61
platform :
58
62
- runner : ubuntu-latest
59
63
target : x86_64
60
- - runner : ubuntu-latest
61
- target : x86
64
+ # - runner: ubuntu-latest
65
+ # target: x86
62
66
- runner : ubuntu-latest
63
67
target : aarch64
64
- - runner : ubuntu-latest
65
- target : armv7
68
+ # - runner: ubuntu-latest
69
+ # target: armv7
66
70
steps :
67
71
- uses : actions/checkout@v4
68
72
- uses : actions/setup-python@v5
72
76
uses : PyO3/maturin-action@v1
73
77
with :
74
78
target : ${{ matrix.platform.target }}
75
- args : --release --out dist
79
+ args : ${{ env.COMMON }}
76
80
sccache : ' true'
77
81
manylinux : musllinux_1_2
78
82
- name : Upload wheels
88
92
platform :
89
93
- runner : windows-latest
90
94
target : x64
91
- - runner : windows-latest
92
- target : x86
95
+ # - runner: windows-latest
96
+ # target: x86
93
97
steps :
94
98
- uses : actions/checkout@v4
95
99
- uses : actions/setup-python@v5
@@ -100,7 +104,7 @@ jobs:
100
104
uses : PyO3/maturin-action@v1
101
105
with :
102
106
target : ${{ matrix.platform.target }}
103
- args : --release --out dist
107
+ args : ${{ env.COMMON }}
104
108
sccache : ' true'
105
109
- name : Upload wheels
106
110
uses : actions/upload-artifact@v4
@@ -113,9 +117,9 @@ jobs:
113
117
strategy :
114
118
matrix :
115
119
platform :
116
- - runner : macos-12
120
+ - runner : macos-13
117
121
target : x86_64
118
- - runner : macos-14
122
+ - runner : macos-13
119
123
target : aarch64
120
124
steps :
121
125
- uses : actions/checkout@v4
@@ -126,7 +130,7 @@ jobs:
126
130
uses : PyO3/maturin-action@v1
127
131
with :
128
132
target : ${{ matrix.platform.target }}
129
- args : --release --out dist
133
+ args : ${{ env.COMMON }}
130
134
sccache : ' true'
131
135
- name : Upload wheels
132
136
uses : actions/upload-artifact@v4
@@ -142,7 +146,7 @@ jobs:
142
146
uses : PyO3/maturin-action@v1
143
147
with :
144
148
command : sdist
145
- args : --out dist
149
+ args : ${{ env.BASE }}
146
150
- name : Upload sdist
147
151
uses : actions/upload-artifact@v4
148
152
with :
0 commit comments