@@ -11,22 +11,10 @@ permissions:
11
11
12
12
jobs :
13
13
linux :
14
- runs-on : ${{ matrix.platform.runner }}
14
+ runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- platform :
18
- - runner : ubuntu-latest
19
- target : x86_64
20
- - runner : ubuntu-latest
21
- target : x86
22
- - runner : ubuntu-latest
23
- target : aarch64
24
- - runner : ubuntu-latest
25
- target : armv7
26
- - runner : ubuntu-latest
27
- target : s390x
28
- - runner : ubuntu-latest
29
- target : ppc64le
17
+ target : [x86_64, x86, aarch64, armv7, s390x, ppc64le]
30
18
steps :
31
19
- uses : actions/checkout@v3
32
20
- uses : ./.github/actions/set-version
@@ -43,25 +31,20 @@ jobs:
43
31
- name : Upload wheels
44
32
uses : actions/upload-artifact@v4
45
33
with :
46
- name : wheels-linux-${{ matrix.platform. target }}
34
+ name : wheels-linux-${{ matrix.target }}
47
35
path : dist
48
36
49
37
windows :
50
- runs-on : ${{ matrix.platform.runner }}
38
+ runs-on : windows-latest
51
39
strategy :
52
40
matrix :
53
- platform :
54
- - runner : windows-latest
55
- target : x64
56
- - runner : windows-latest
57
- target : x86
41
+ target : [x64, x86]
58
42
steps :
59
43
- uses : actions/checkout@v3
60
44
- uses : ./.github/actions/set-version
61
45
- uses : actions/setup-python@v4
62
46
with :
63
47
python-version : ' 3.10'
64
- architecture : ${{ matrix.target }}
65
48
- name : Build wheels
66
49
uses : PyO3/maturin-action@v1
67
50
with :
@@ -71,18 +54,14 @@ jobs:
71
54
- name : Upload wheels
72
55
uses : actions/upload-artifact@v4
73
56
with :
74
- name : wheels-windows-${{ matrix.platform. target }}
57
+ name : wheels-windows-${{ matrix.target }}
75
58
path : dist
76
59
77
60
macos :
78
- runs-on : ${{ matrix.platform.runner }}
61
+ runs-on : macos-latest
79
62
strategy :
80
63
matrix :
81
- platform :
82
- - runner : macos-13
83
- target : x86_64
84
- - runner : macos-14
85
- target : aarch64
64
+ target : [x86_64, aarch64]
86
65
steps :
87
66
- uses : actions/checkout@v3
88
67
- uses : ./.github/actions/set-version
98
77
- name : Upload wheels
99
78
uses : actions/upload-artifact@v4
100
79
with :
101
- name : wheels-macos-${{ matrix.platform. target }}
80
+ name : wheels-macos-${{ matrix.target }}
102
81
path : dist
103
82
104
83
sdist :
0 commit comments