13
13
jobs :
14
14
lint :
15
15
name : Lint
16
- runs-on : ubuntu-20 .04
16
+ runs-on : ubuntu-22 .04
17
17
steps :
18
18
- uses : actions/checkout@v3
19
19
- uses : actions/setup-python@v4
@@ -30,25 +30,25 @@ jobs:
30
30
fail-fast : false
31
31
matrix :
32
32
include :
33
- - os : ubuntu-20 .04
33
+ - os : ubuntu-22 .04
34
34
arch : " x86_64"
35
- - os : ubuntu-20 .04
35
+ - os : ubuntu-22 .04
36
36
arch : " i686"
37
- - os : ubuntu-20 .04
37
+ - os : ubuntu-22 .04
38
38
arch : " aarch64"
39
- - os : ubuntu-20 .04
39
+ - os : ubuntu-22 .04
40
40
arch : " ppc64le"
41
- - os : ubuntu-20 .04
41
+ - os : ubuntu-22 .04
42
42
arch : " s390x"
43
43
- os : windows-2019
44
44
arch : " AMD64"
45
45
- os : windows-2019
46
46
arch : " x86"
47
- - os : macos-10.15
47
+ - os : macos-11
48
48
arch : " universal2"
49
49
50
50
steps :
51
- - uses : actions/checkout@v2
51
+ - uses : actions/checkout@v3
52
52
with :
53
53
fetch-depth : 0 # required for versioneer to find tags
54
54
68
68
build_sdist :
69
69
name : Build source distribution
70
70
needs : [lint]
71
- runs-on : ubuntu-20 .04
71
+ runs-on : ubuntu-22 .04
72
72
steps :
73
- - uses : actions/checkout@v2
73
+ - uses : actions/checkout@v3
74
74
with :
75
75
fetch-depth : 0 # required for versioneer to find tags
76
76
@@ -84,14 +84,15 @@ jobs:
84
84
test_sdist :
85
85
name : Test SDist with python ${{ matrix.python }}
86
86
needs : [build_sdist]
87
+ # 22.04 doesn't have 2.7 or 3.6
87
88
runs-on : ubuntu-20.04
88
89
strategy :
89
90
fail-fast : false
90
91
matrix :
91
- python : ["2.7", "3.6", "3.10-dev "]
92
+ python : ["2.7", "3.6", "3.11 "]
92
93
93
94
steps :
94
- - uses : actions/checkout@v2
95
+ - uses : actions/checkout@v3
95
96
- uses : actions/setup-python@v4
96
97
name : Install Python ${{ matrix.python }}
97
98
with :
@@ -116,7 +117,7 @@ jobs:
116
117
check_dist :
117
118
name : Check dist
118
119
needs : [build_wheels, build_sdist, test_sdist]
119
- runs-on : ubuntu-20 .04
120
+ runs-on : ubuntu-22 .04
120
121
steps :
121
122
- uses : actions/download-artifact@v3
122
123
with :
@@ -127,7 +128,7 @@ jobs:
127
128
128
129
upload_pypi :
129
130
name : Upload to PyPI
130
- needs : [build_wheels, build_sdist, test_sdist, check_dist]
131
+ needs : [check_dist]
131
132
runs-on : ubuntu-latest
132
133
if : github.event_name == 'push' && github.repository == 'scikit-build/ninja-python-distributions' && startsWith(github.ref, 'refs/tags/')
133
134
steps :
0 commit comments