@@ -37,19 +37,81 @@ jobs:
37
37
name : PR
38
38
env :
39
39
CI_JOB_NAME : " ${{ matrix.name }}"
40
- CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
41
40
SCCACHE_BUCKET : rust-lang-ci-sccache2
42
41
TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
43
42
CACHE_DOMAIN : ci-caches.rust-lang.org
44
43
if : " github.event_name == 'pull_request'"
45
- continue-on-error : " ${{ matrix.tidy }} "
44
+ continue-on-error : false
46
45
strategy :
47
46
matrix :
48
47
include :
49
48
- name : mingw-check
50
49
tidy : false
51
50
os : ubuntu-20.04-xl
52
51
env : {}
52
+ - name : i686-msvc-2
53
+ env :
54
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-msvc"
55
+ SCRIPT : make ci-subset-2
56
+ os : windows-latest-xl
57
+ - name : x86_64-msvc-cargo
58
+ env :
59
+ SCRIPT : python x.py --stage 2 test src/tools/cargotest src/tools/cargo
60
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-lld"
61
+ os : windows-latest-xl
62
+ - name : x86_64-msvc-tools
63
+ env :
64
+ SCRIPT : src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
65
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
66
+ DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
67
+ os : windows-latest-xl
68
+ - name : x86_64-mingw-2
69
+ env :
70
+ SCRIPT : make ci-mingw-subset-2
71
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler --set llvm.allow-old-toolchain"
72
+ NO_DOWNLOAD_CI_LLVM : 1
73
+ CUSTOM_MINGW : 1
74
+ os : windows-latest-xl
75
+ - name : dist-x86_64-msvc
76
+ env :
77
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler --set rust.lto=thin"
78
+ SCRIPT : PGO_HOST=x86_64-pc-windows-msvc src/ci/pgo.sh python x.py dist bootstrap --include-default-paths
79
+ DIST_REQUIRE_ALL_TOOLS : 1
80
+ os : windows-latest-xl
81
+ - name : dist-i686-msvc
82
+ env :
83
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-msvc --host=i686-pc-windows-msvc --target=i686-pc-windows-msvc,i586-pc-windows-msvc --enable-full-tools --enable-profiler"
84
+ SCRIPT : python x.py dist bootstrap --include-default-paths
85
+ DIST_REQUIRE_ALL_TOOLS : 1
86
+ os : windows-latest-xl
87
+ - name : dist-aarch64-msvc
88
+ env :
89
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
90
+ SCRIPT : python x.py dist bootstrap --include-default-paths
91
+ DIST_REQUIRE_ALL_TOOLS : 1
92
+ WINDOWS_SDK_20348_HACK : 1
93
+ os : windows-latest-xl
94
+ - name : dist-i686-mingw
95
+ env :
96
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler --set llvm.allow-old-toolchain"
97
+ NO_DOWNLOAD_CI_LLVM : 1
98
+ SCRIPT : python x.py dist bootstrap --include-default-paths
99
+ CUSTOM_MINGW : 1
100
+ DIST_REQUIRE_ALL_TOOLS : 1
101
+ os : windows-latest-xl
102
+ - name : dist-x86_64-mingw
103
+ env :
104
+ SCRIPT : python x.py dist bootstrap --include-default-paths
105
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler --set llvm.allow-old-toolchain"
106
+ NO_DOWNLOAD_CI_LLVM : 1
107
+ CUSTOM_MINGW : 1
108
+ DIST_REQUIRE_ALL_TOOLS : 1
109
+ os : windows-latest-xl
110
+ - name : dist-x86_64-msvc-alt
111
+ env :
112
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
113
+ SCRIPT : python x.py dist bootstrap --include-default-paths
114
+ os : windows-latest-xl
53
115
- name : mingw-check-tidy
54
116
tidy : true
55
117
os : ubuntu-20.04-xl
60
122
env : {}
61
123
- name : x86_64-gnu-tools
62
124
tidy : false
125
+ env :
126
+ CI_ONLY_WHEN_SUBMODULES_CHANGED : 1
63
127
os : ubuntu-20.04-xl
64
- env : {}
65
128
timeout-minutes : 600
66
129
runs-on : " ${{ matrix.os }}"
67
130
steps :
@@ -162,7 +225,6 @@ jobs:
162
225
name : auto
163
226
env :
164
227
CI_JOB_NAME : " ${{ matrix.name }}"
165
- CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
166
228
SCCACHE_BUCKET : rust-lang-ci-sccache2
167
229
DEPLOY_BUCKET : rust-lang-ci2
168
230
TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
@@ -292,14 +354,6 @@ jobs:
292
354
- name : x86_64-gnu-distcheck
293
355
os : ubuntu-20.04-xl
294
356
env : {}
295
- - name : x86_64-gnu-llvm-15
296
- env :
297
- RUST_BACKTRACE : 1
298
- os : ubuntu-20.04-xl
299
- - name : x86_64-gnu-llvm-14
300
- env :
301
- RUST_BACKTRACE : 1
302
- os : ubuntu-20.04-xl
303
357
- name : x86_64-gnu-llvm-13
304
358
env :
305
359
RUST_BACKTRACE : 1
@@ -326,7 +380,7 @@ jobs:
326
380
NO_DEBUG_ASSERTIONS : 1
327
381
NO_OVERFLOW_CHECKS : 1
328
382
DIST_REQUIRE_ALL_TOOLS : 1
329
- os : macos-latest
383
+ os : macos-12-xl
330
384
- name : dist-apple-various
331
385
env :
332
386
SCRIPT : " ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
@@ -337,7 +391,7 @@ jobs:
337
391
NO_LLVM_ASSERTIONS : 1
338
392
NO_DEBUG_ASSERTIONS : 1
339
393
NO_OVERFLOW_CHECKS : 1
340
- os : macos-latest
394
+ os : macos-12-xl
341
395
- name : dist-x86_64-apple-alt
342
396
env :
343
397
SCRIPT : " ./x.py dist bootstrap --include-default-paths"
@@ -348,7 +402,7 @@ jobs:
348
402
NO_LLVM_ASSERTIONS : 1
349
403
NO_DEBUG_ASSERTIONS : 1
350
404
NO_OVERFLOW_CHECKS : 1
351
- os : macos-latest
405
+ os : macos-12-xl
352
406
- name : x86_64-apple-1
353
407
env :
354
408
SCRIPT : " ./x.py --stage 2 test --exclude tests/ui --exclude tests/rustdoc --exclude tests/run-make-fulldeps"
@@ -359,7 +413,7 @@ jobs:
359
413
NO_LLVM_ASSERTIONS : 1
360
414
NO_DEBUG_ASSERTIONS : 1
361
415
NO_OVERFLOW_CHECKS : 1
362
- os : macos-latest
416
+ os : macos-12-xl
363
417
- name : x86_64-apple-2
364
418
env :
365
419
SCRIPT : " ./x.py --stage 2 test tests/ui tests/rustdoc tests/run-make-fulldeps"
@@ -370,7 +424,7 @@ jobs:
370
424
NO_LLVM_ASSERTIONS : 1
371
425
NO_DEBUG_ASSERTIONS : 1
372
426
NO_OVERFLOW_CHECKS : 1
373
- os : macos-latest
427
+ os : macos-12-xl
374
428
- name : dist-aarch64-apple
375
429
env :
376
430
SCRIPT : " ./x.py dist bootstrap --include-default-paths --stage 2"
@@ -385,7 +439,7 @@ jobs:
385
439
NO_OVERFLOW_CHECKS : 1
386
440
DIST_REQUIRE_ALL_TOOLS : 1
387
441
JEMALLOC_SYS_WITH_LG_PAGE : 14
388
- os : macos-latest
442
+ os : macos-12-xl
389
443
- name : x86_64-msvc-1
390
444
env :
391
445
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
@@ -419,36 +473,36 @@ jobs:
419
473
os : windows-latest-xl
420
474
- name : i686-mingw-1
421
475
env :
422
- RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu"
476
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --set llvm.allow-old-toolchain "
423
477
SCRIPT : make ci-mingw-subset-1
424
478
NO_DOWNLOAD_CI_LLVM : 1
425
479
CUSTOM_MINGW : 1
426
480
os : windows-latest-xl
427
481
- name : i686-mingw-2
428
482
env :
429
- RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu"
483
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --set llvm.allow-old-toolchain "
430
484
SCRIPT : make ci-mingw-subset-2
431
485
NO_DOWNLOAD_CI_LLVM : 1
432
486
CUSTOM_MINGW : 1
433
487
os : windows-latest-xl
434
488
- name : x86_64-mingw-1
435
489
env :
436
490
SCRIPT : make ci-mingw-subset-1
437
- RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler"
491
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler --set llvm.allow-old-toolchain "
438
492
NO_DOWNLOAD_CI_LLVM : 1
439
493
CUSTOM_MINGW : 1
440
494
os : windows-latest-xl
441
495
- name : x86_64-mingw-2
442
496
env :
443
497
SCRIPT : make ci-mingw-subset-2
444
- RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler"
498
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler --set llvm.allow-old-toolchain "
445
499
NO_DOWNLOAD_CI_LLVM : 1
446
500
CUSTOM_MINGW : 1
447
501
os : windows-latest-xl
448
502
- name : dist-x86_64-msvc
449
503
env :
450
504
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler --set rust.lto=thin"
451
- SCRIPT : PGO_HOST=x86_64-pc-windows-msvc python src/ci/stage-build.py python x.py dist bootstrap --include-default-paths
505
+ SCRIPT : PGO_HOST=x86_64-pc-windows-msvc src/ci/pgo.sh python x.py dist bootstrap --include-default-paths
452
506
DIST_REQUIRE_ALL_TOOLS : 1
453
507
os : windows-latest-xl
454
508
- name : dist-i686-msvc
@@ -466,7 +520,7 @@ jobs:
466
520
os : windows-latest-xl
467
521
- name : dist-i686-mingw
468
522
env :
469
- RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
523
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler --set llvm.allow-old-toolchain "
470
524
NO_DOWNLOAD_CI_LLVM : 1
471
525
SCRIPT : python x.py dist bootstrap --include-default-paths
472
526
CUSTOM_MINGW : 1
@@ -475,7 +529,7 @@ jobs:
475
529
- name : dist-x86_64-mingw
476
530
env :
477
531
SCRIPT : python x.py dist bootstrap --include-default-paths
478
- RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
532
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler --set llvm.allow-old-toolchain "
479
533
NO_DOWNLOAD_CI_LLVM : 1
480
534
CUSTOM_MINGW : 1
481
535
DIST_REQUIRE_ALL_TOOLS : 1
@@ -585,7 +639,6 @@ jobs:
585
639
name : try
586
640
env :
587
641
CI_JOB_NAME : " ${{ matrix.name }}"
588
- CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
589
642
SCCACHE_BUCKET : rust-lang-ci-sccache2
590
643
DEPLOY_BUCKET : rust-lang-ci2
591
644
TOOLSTATE_REPO : " https://github.com/rust-lang-nursery/rust-toolstate"
0 commit comments