79
79
run : LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
80
80
shell : bash
81
81
82
- style_and_docs :
83
- name : Style and docs
82
+ style_check :
83
+ name : Style check
84
84
runs-on : ubuntu-18.04
85
85
strategy :
86
86
fail-fast : true
@@ -93,16 +93,14 @@ jobs:
93
93
run : sh ./ci/install-rust.sh
94
94
- name : Check style
95
95
run : sh ci/style.sh
96
- - name : Generate documentation
97
- run : LIBC_CI=1 sh ci/dox.sh
98
96
99
97
docker_linux_tier2 :
100
98
name : Docker Linux Tier2
101
- needs : [docker_linux_tier1, style_and_docs ]
99
+ needs : [docker_linux_tier1, style_check ]
102
100
runs-on : ubuntu-18.04
103
101
strategy :
104
102
fail-fast : true
105
- max-parallel : 10
103
+ max-parallel : 12
106
104
matrix :
107
105
target : [
108
106
aarch64-linux-android,
@@ -149,7 +147,7 @@ jobs:
149
147
# devkitpro's pacman needs to be connected from Docker.
150
148
docker_switch :
151
149
name : Docker Switch
152
- needs : [docker_linux_tier1, style_and_docs ]
150
+ needs : [docker_linux_tier1, style_check ]
153
151
runs-on : ubuntu-18.04
154
152
strategy :
155
153
fail-fast : true
@@ -171,7 +169,7 @@ jobs:
171
169
OS : linux
172
170
strategy :
173
171
fail-fast : true
174
- max-parallel : 4
172
+ max-parallel : 5
175
173
matrix :
176
174
toolchain : [
177
175
stable,
@@ -201,7 +199,7 @@ jobs:
201
199
OS : macos
202
200
strategy :
203
201
fail-fast : true
204
- max-parallel : 3
202
+ max-parallel : 4
205
203
matrix :
206
204
toolchain : [
207
205
stable,
@@ -257,6 +255,22 @@ jobs:
257
255
- name : Check breaking changes
258
256
run : sh ci/semver.sh macos
259
257
258
+ docs :
259
+ name : Generate documentation
260
+ runs-on : ubuntu-18.04
261
+ needs : docker_linux_tier2
262
+ strategy :
263
+ fail-fast : true
264
+ steps :
265
+ - uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
266
+ with :
267
+ github_token : " ${{ secrets.GITHUB_TOKEN }}"
268
+ - uses : actions/checkout@v2
269
+ - name : Setup Rust toolchain
270
+ run : sh ./ci/install-rust.sh
271
+ - name : Generate documentation
272
+ run : LIBC_CI=1 sh ci/dox.sh
273
+
260
274
# These jobs doesn't actually test anything, but they're only used to tell
261
275
# bors the build completed, as there is no practical way to detect when a
262
276
# workflow is successful listening to webhooks only.
@@ -272,12 +286,13 @@ jobs:
272
286
docker_linux_tier2,
273
287
macos,
274
288
windows,
275
- style_and_docs ,
289
+ style_check ,
276
290
docker_switch,
277
291
build_channels_linux,
278
292
build_channels_macos,
279
293
semver_linux,
280
- semver_macos
294
+ semver_macos,
295
+ docs,
281
296
]
282
297
283
298
steps :
@@ -293,12 +308,13 @@ jobs:
293
308
docker_linux_tier2,
294
309
macos,
295
310
windows,
296
- style_and_docs ,
311
+ style_check ,
297
312
docker_switch,
298
313
build_channels_linux,
299
314
build_channels_macos,
300
315
semver_linux,
301
- semver_macos
316
+ semver_macos,
317
+ docs,
302
318
]
303
319
304
320
steps :
0 commit comments