@@ -285,3 +285,144 @@ jobs:
285
285
- name : Execute run.sh
286
286
run : LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
287
287
shell : bash
288
+
289
+
290
+ style_and_docs :
291
+ name : Style and docs
292
+ runs-on : ubuntu-18.04
293
+ strategy :
294
+ fail-fast : false
295
+ steps :
296
+ - uses : actions/checkout@v2
297
+
298
+ - name : Setup Rust toolchain
299
+ run : |
300
+ set -ex
301
+ rustup set profile minimal
302
+ rustup update --force nightly
303
+ rustup default nightly
304
+ - name : Query Rust and Cargo versions
305
+ run : |
306
+ set -ex
307
+ rustc -Vv
308
+ cargo -V
309
+ rustup -Vv
310
+ rustup show
311
+ which rustc
312
+ which cargo
313
+ which rustup
314
+ - name : Generate lockfile
315
+ run : |
316
+ set -ex
317
+ N=5
318
+ n=0
319
+ until [ $n -ge $N ]
320
+ do
321
+ if cargo generate-lockfile ; then
322
+ break
323
+ fi
324
+ n=$((n+1))
325
+ sleep 1
326
+ done
327
+
328
+ - name : Check style
329
+ run : sh ci/style.sh
330
+ - name : Generate documentation
331
+ run : LIBC_CI=1 sh ci/dox.sh
332
+
333
+
334
+ build_channels_linux :
335
+ name : Build Channels Linux
336
+ runs-on : ubuntu-18.04
337
+ env :
338
+ OS : linux
339
+ strategy :
340
+ fail-fast : false
341
+ max-parallel : 5
342
+ matrix :
343
+ toolchain : [
344
+ stable,
345
+ beta,
346
+ nightly,
347
+ 1.13.0,
348
+ 1.19.0,
349
+ 1.24.0,
350
+ 1.25.0,
351
+ 1.30.0,
352
+ ]
353
+ steps :
354
+ - uses : actions/checkout@v2
355
+
356
+ - name : Setup Rust toolchain
357
+ run : |
358
+ set -ex
359
+ rustup set profile minimal
360
+ rustup update --force ${{ matrix.toolchain }}
361
+ rustup default ${{ matrix.toolchain }}
362
+ - name : Query Rust and Cargo versions
363
+ run : |
364
+ set -ex
365
+ rustc -Vv
366
+ cargo -V
367
+ rustup -Vv
368
+ rustup show
369
+ which rustc
370
+ which cargo
371
+ which rustup
372
+ - name : Generate lockfile
373
+ run : |
374
+ set -ex
375
+ N=5
376
+ n=0
377
+ until [ $n -ge $N ]
378
+ do
379
+ if cargo generate-lockfile ; then
380
+ break
381
+ fi
382
+ n=$((n+1))
383
+ sleep 1
384
+ done
385
+ - name : Execute build.sh
386
+ run : LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
387
+
388
+
389
+ # devkitpro's pacman needs to be connected from Docker.
390
+ DockerSwitch :
391
+ name : Docker Switch
392
+ runs-on : ubuntu-18.04
393
+ strategy :
394
+ fail-fast : false
395
+ steps :
396
+ - uses : actions/checkout@v2
397
+
398
+ - name : Setup Rust toolchain
399
+ run : |
400
+ set -ex
401
+ rustup set profile minimal
402
+ rustup update --force nightly
403
+ rustup default nightly
404
+ - name : Query Rust and Cargo versions
405
+ run : |
406
+ set -ex
407
+ rustc -Vv
408
+ cargo -V
409
+ rustup -Vv
410
+ rustup show
411
+ which rustc
412
+ which cargo
413
+ which rustup
414
+ - name : Generate lockfile
415
+ run : |
416
+ set -ex
417
+ N=5
418
+ n=0
419
+ until [ $n -ge $N ]
420
+ do
421
+ if cargo generate-lockfile ; then
422
+ break
423
+ fi
424
+ n=$((n+1))
425
+ sleep 1
426
+ done
427
+ - name : Execute run-docker.sh
428
+ run : LIBC_CI=1 sh ./ci/run-docker.sh switch
0 commit comments