23
23
jobs :
24
24
lint :
25
25
name : Lint
26
- runs-on : ubuntu-20 .04
26
+ runs-on : ubuntu-22 .04
27
27
steps :
28
28
- uses : actions/checkout@v3
29
29
- uses : actions/setup-python@v4
@@ -40,43 +40,43 @@ jobs:
40
40
fail-fast : false
41
41
matrix :
42
42
include :
43
- - os : ubuntu-20 .04
43
+ - os : ubuntu-22 .04
44
44
arch : " x86_64"
45
45
build : " manylinux_"
46
46
use_qemu : false
47
- - os : ubuntu-20 .04
47
+ - os : ubuntu-22 .04
48
48
arch : " x86_64"
49
49
build : " musllinux_"
50
50
use_qemu : false
51
- - os : ubuntu-20 .04
51
+ - os : ubuntu-22 .04
52
52
arch : " i686"
53
53
build : " manylinux_"
54
54
use_qemu : false
55
- - os : ubuntu-20 .04
55
+ - os : ubuntu-22 .04
56
56
arch : " i686"
57
57
build : " musllinux_"
58
58
use_qemu : false
59
- - os : ubuntu-20 .04
59
+ - os : ubuntu-22 .04
60
60
arch : " aarch64"
61
61
build : " manylinux_"
62
62
use_qemu : true
63
- - os : ubuntu-20 .04
63
+ - os : ubuntu-22 .04
64
64
arch : " aarch64"
65
65
build : " musllinux_"
66
66
use_qemu : true
67
- - os : ubuntu-20 .04
67
+ - os : ubuntu-22 .04
68
68
arch : " ppc64le"
69
69
build : " manylinux_"
70
70
use_qemu : true
71
- - os : ubuntu-20 .04
71
+ - os : ubuntu-22 .04
72
72
arch : " ppc64le"
73
73
build : " musllinux_"
74
74
use_qemu : true
75
- - os : ubuntu-20 .04
75
+ - os : ubuntu-22 .04
76
76
arch : " s390x"
77
77
build : " manylinux_"
78
78
use_qemu : true
79
- - os : ubuntu-20 .04
79
+ - os : ubuntu-22 .04
80
80
arch : " s390x"
81
81
build : " musllinux_"
82
82
use_qemu : true
@@ -88,13 +88,13 @@ jobs:
88
88
arch : " x86"
89
89
build : " "
90
90
use_qemu : false
91
- - os : macos-10.15
91
+ - os : macos-11
92
92
arch : " x86_64"
93
93
build : " "
94
94
use_qemu : false
95
95
96
96
steps :
97
- - uses : actions/checkout@v2
97
+ - uses : actions/checkout@v3
98
98
if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
99
99
with :
100
100
fetch-depth : 0 # required for versioneer to find tags
@@ -118,7 +118,7 @@ jobs:
118
118
build_manylinux2010_wheels :
119
119
name : Build ${{ matrix.arch }} manylinux2010 wheels
120
120
needs : [lint]
121
- runs-on : ubuntu-20 .04
121
+ runs-on : ubuntu-22 .04
122
122
strategy :
123
123
fail-fast : false
124
124
matrix :
@@ -127,7 +127,7 @@ jobs:
127
127
- arch : " i686"
128
128
129
129
steps :
130
- - uses : actions/checkout@v2
130
+ - uses : actions/checkout@v3
131
131
with :
132
132
fetch-depth : 0 # required for versioneer to find tags
133
133
@@ -146,9 +146,9 @@ jobs:
146
146
build_sdist :
147
147
name : Build source distribution
148
148
needs : [lint]
149
- runs-on : ubuntu-20 .04
149
+ runs-on : ubuntu-22 .04
150
150
steps :
151
- - uses : actions/checkout@v2
151
+ - uses : actions/checkout@v3
152
152
with :
153
153
fetch-depth : 0 # required for versioneer to find tags
154
154
@@ -162,14 +162,15 @@ jobs:
162
162
test_sdist :
163
163
name : Test SDist with python ${{ matrix.python }}
164
164
needs : [build_sdist]
165
+ # 22.04 doesn't have 2.7 or 3.6
165
166
runs-on : ubuntu-20.04
166
167
strategy :
167
168
fail-fast : false
168
169
matrix :
169
- python : ["2.7", "3.6", "3.10 "]
170
+ python : ["2.7", "3.6", "3.11 "]
170
171
171
172
steps :
172
- - uses : actions/checkout@v2
173
+ - uses : actions/checkout@v3
173
174
- uses : actions/setup-python@v4
174
175
name : Install Python ${{ matrix.python }}
175
176
with :
@@ -199,7 +200,7 @@ jobs:
199
200
check_dist :
200
201
name : Check dist
201
202
needs : [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist]
202
- runs-on : ubuntu-20 .04
203
+ runs-on : ubuntu-22 .04
203
204
steps :
204
205
- uses : actions/download-artifact@v3
205
206
with :
@@ -210,7 +211,7 @@ jobs:
210
211
211
212
upload_pypi :
212
213
name : Upload to PyPI
213
- needs : [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist, check_dist]
214
+ needs : [check_dist]
214
215
runs-on : ubuntu-latest
215
216
if : github.event_name == 'push' && github.repository == 'scikit-build/cmake-python-distributions' && startsWith(github.ref, 'refs/tags/')
216
217
steps :
0 commit comments