2323jobs :
2424 lint :
2525 name : Lint
26- runs-on : ubuntu-20 .04
26+ runs-on : ubuntu-22 .04
2727 steps :
2828 - uses : actions/checkout@v3
2929 - uses : actions/setup-python@v4
@@ -40,43 +40,43 @@ jobs:
4040 fail-fast : false
4141 matrix :
4242 include :
43- - os : ubuntu-20 .04
43+ - os : ubuntu-22 .04
4444 arch : " x86_64"
4545 build : " manylinux_"
4646 use_qemu : false
47- - os : ubuntu-20 .04
47+ - os : ubuntu-22 .04
4848 arch : " x86_64"
4949 build : " musllinux_"
5050 use_qemu : false
51- - os : ubuntu-20 .04
51+ - os : ubuntu-22 .04
5252 arch : " i686"
5353 build : " manylinux_"
5454 use_qemu : false
55- - os : ubuntu-20 .04
55+ - os : ubuntu-22 .04
5656 arch : " i686"
5757 build : " musllinux_"
5858 use_qemu : false
59- - os : ubuntu-20 .04
59+ - os : ubuntu-22 .04
6060 arch : " aarch64"
6161 build : " manylinux_"
6262 use_qemu : true
63- - os : ubuntu-20 .04
63+ - os : ubuntu-22 .04
6464 arch : " aarch64"
6565 build : " musllinux_"
6666 use_qemu : true
67- - os : ubuntu-20 .04
67+ - os : ubuntu-22 .04
6868 arch : " ppc64le"
6969 build : " manylinux_"
7070 use_qemu : true
71- - os : ubuntu-20 .04
71+ - os : ubuntu-22 .04
7272 arch : " ppc64le"
7373 build : " musllinux_"
7474 use_qemu : true
75- - os : ubuntu-20 .04
75+ - os : ubuntu-22 .04
7676 arch : " s390x"
7777 build : " manylinux_"
7878 use_qemu : true
79- - os : ubuntu-20 .04
79+ - os : ubuntu-22 .04
8080 arch : " s390x"
8181 build : " musllinux_"
8282 use_qemu : true
@@ -88,13 +88,13 @@ jobs:
8888 arch : " x86"
8989 build : " "
9090 use_qemu : false
91- - os : macos-10.15
91+ - os : macos-11
9292 arch : " x86_64"
9393 build : " "
9494 use_qemu : false
9595
9696 steps :
97- - uses : actions/checkout@v2
97+ - uses : actions/checkout@v3
9898 if : (!matrix.use_qemu) || fromJSON(env.USE_QEMU)
9999 with :
100100 fetch-depth : 0 # required for versioneer to find tags
@@ -118,7 +118,7 @@ jobs:
118118 build_manylinux2010_wheels :
119119 name : Build ${{ matrix.arch }} manylinux2010 wheels
120120 needs : [lint]
121- runs-on : ubuntu-20 .04
121+ runs-on : ubuntu-22 .04
122122 strategy :
123123 fail-fast : false
124124 matrix :
@@ -127,7 +127,7 @@ jobs:
127127 - arch : " i686"
128128
129129 steps :
130- - uses : actions/checkout@v2
130+ - uses : actions/checkout@v3
131131 with :
132132 fetch-depth : 0 # required for versioneer to find tags
133133
@@ -146,9 +146,9 @@ jobs:
146146 build_sdist :
147147 name : Build source distribution
148148 needs : [lint]
149- runs-on : ubuntu-20 .04
149+ runs-on : ubuntu-22 .04
150150 steps :
151- - uses : actions/checkout@v2
151+ - uses : actions/checkout@v3
152152 with :
153153 fetch-depth : 0 # required for versioneer to find tags
154154
@@ -162,14 +162,15 @@ jobs:
162162 test_sdist :
163163 name : Test SDist with python ${{ matrix.python }}
164164 needs : [build_sdist]
165+ # 22.04 doesn't have 2.7 or 3.6
165166 runs-on : ubuntu-20.04
166167 strategy :
167168 fail-fast : false
168169 matrix :
169- python : ["2.7", "3.6", "3.10 "]
170+ python : ["2.7", "3.6", "3.11 "]
170171
171172 steps :
172- - uses : actions/checkout@v2
173+ - uses : actions/checkout@v3
173174 - uses : actions/setup-python@v4
174175 name : Install Python ${{ matrix.python }}
175176 with :
@@ -199,7 +200,7 @@ jobs:
199200 check_dist :
200201 name : Check dist
201202 needs : [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist]
202- runs-on : ubuntu-20 .04
203+ runs-on : ubuntu-22 .04
203204 steps :
204205 - uses : actions/download-artifact@v3
205206 with :
@@ -210,7 +211,7 @@ jobs:
210211
211212 upload_pypi :
212213 name : Upload to PyPI
213- needs : [build_wheels, build_manylinux2010_wheels, build_sdist, test_sdist, check_dist]
214+ needs : [check_dist]
214215 runs-on : ubuntu-latest
215216 if : github.event_name == 'push' && github.repository == 'scikit-build/cmake-python-distributions' && startsWith(github.ref, 'refs/tags/')
216217 steps :
0 commit comments