@@ -41,22 +41,22 @@ jobs:
41
41
matrix :
42
42
include :
43
43
- name : mingw-check
44
- os : ubuntu-latest -xl
44
+ os : ubuntu-20.04 -xl
45
45
env : {}
46
46
- name : x86_64-gnu-llvm-12
47
- os : ubuntu-latest -xl
47
+ os : ubuntu-20.04 -xl
48
48
env : {}
49
49
- name : x86_64-gnu-tools
50
50
env :
51
51
CI_ONLY_WHEN_SUBMODULES_CHANGED : 1
52
- os : ubuntu-latest -xl
52
+ os : ubuntu-20.04 -xl
53
53
timeout-minutes : 600
54
54
runs-on : " ${{ matrix.os }}"
55
55
steps :
56
56
- name : disable git crlf conversion
57
57
run : git config --global core.autocrlf false
58
58
- name : checkout the source code
59
- uses : actions/checkout@v2
59
+ uses : actions/checkout@v3
60
60
with :
61
61
fetch-depth : 2
62
62
- name : configure the PR in which the error message will be posted
@@ -104,6 +104,9 @@ jobs:
104
104
- name : disable git crlf conversion
105
105
run : src/ci/scripts/disable-git-crlf-conversion.sh
106
106
if : success() && !env.SKIP_JOB
107
+ - name : checkout submodules
108
+ run : src/ci/scripts/checkout-submodules.sh
109
+ if : success() && !env.SKIP_JOB
107
110
- name : install MSYS2
108
111
run : src/ci/scripts/install-msys2.sh
109
112
if : success() && !env.SKIP_JOB
@@ -119,15 +122,15 @@ jobs:
119
122
- name : disable git crlf conversion
120
123
run : src/ci/scripts/disable-git-crlf-conversion.sh
121
124
if : success() && !env.SKIP_JOB
122
- - name : checkout submodules
123
- run : src/ci/scripts/checkout-submodules.sh
124
- if : success() && !env.SKIP_JOB
125
125
- name : ensure line endings are correct
126
126
run : src/ci/scripts/verify-line-endings.sh
127
127
if : success() && !env.SKIP_JOB
128
128
- name : ensure backported commits are in upstream branches
129
129
run : src/ci/scripts/verify-backported-commits.sh
130
130
if : success() && !env.SKIP_JOB
131
+ - name : ensure the stable version number is correct
132
+ run : src/ci/scripts/verify-stable-version-number.sh
133
+ if : success() && !env.SKIP_JOB
131
134
- name : run the build
132
135
run : src/ci/scripts/run-build-from-ci.sh
133
136
env :
@@ -163,139 +166,149 @@ jobs:
163
166
- ARM64
164
167
- linux
165
168
- name : arm-android
166
- os : ubuntu-latest -xl
169
+ os : ubuntu-20.04 -xl
167
170
env : {}
168
171
- name : armhf-gnu
169
- os : ubuntu-latest -xl
172
+ os : ubuntu-20.04 -xl
170
173
env : {}
171
174
- name : dist-aarch64-linux
172
- os : ubuntu-latest -xl
175
+ os : ubuntu-20.04 -xl
173
176
env : {}
174
177
- name : dist-android
175
- os : ubuntu-latest -xl
178
+ os : ubuntu-20.04 -xl
176
179
env : {}
177
180
- name : dist-arm-linux
178
- os : ubuntu-latest -xl
181
+ os : ubuntu-20.04 -xl
179
182
env : {}
180
183
- name : dist-armhf-linux
181
- os : ubuntu-latest -xl
184
+ os : ubuntu-20.04 -xl
182
185
env : {}
183
186
- name : dist-armv7-linux
184
- os : ubuntu-latest -xl
187
+ os : ubuntu-20.04 -xl
185
188
env : {}
186
189
- name : dist-i586-gnu-i586-i686-musl
187
- os : ubuntu-latest -xl
190
+ os : ubuntu-20.04 -xl
188
191
env : {}
189
192
- name : dist-i686-linux
190
- os : ubuntu-latest -xl
193
+ os : ubuntu-20.04 -xl
191
194
env : {}
192
195
- name : dist-mips-linux
193
- os : ubuntu-latest -xl
196
+ os : ubuntu-20.04 -xl
194
197
env : {}
195
198
- name : dist-mips64-linux
196
- os : ubuntu-latest -xl
199
+ os : ubuntu-20.04 -xl
197
200
env : {}
198
201
- name : dist-mips64el-linux
199
- os : ubuntu-latest -xl
202
+ os : ubuntu-20.04 -xl
200
203
env : {}
201
204
- name : dist-mipsel-linux
202
- os : ubuntu-latest -xl
205
+ os : ubuntu-20.04 -xl
203
206
env : {}
204
207
- name : dist-powerpc-linux
205
- os : ubuntu-latest -xl
208
+ os : ubuntu-20.04 -xl
206
209
env : {}
207
210
- name : dist-powerpc64-linux
208
- os : ubuntu-latest -xl
211
+ os : ubuntu-20.04 -xl
209
212
env : {}
210
213
- name : dist-powerpc64le-linux
211
- os : ubuntu-latest -xl
214
+ os : ubuntu-20.04 -xl
212
215
env : {}
213
216
- name : dist-riscv64-linux
214
- os : ubuntu-latest -xl
217
+ os : ubuntu-20.04 -xl
215
218
env : {}
216
219
- name : dist-s390x-linux
217
- os : ubuntu-latest -xl
220
+ os : ubuntu-20.04 -xl
218
221
env : {}
219
222
- name : dist-various-1
220
- os : ubuntu-latest -xl
223
+ os : ubuntu-20.04 -xl
221
224
env : {}
222
225
- name : dist-various-2
223
- os : ubuntu-latest -xl
226
+ os : ubuntu-20.04 -xl
224
227
env : {}
225
228
- name : dist-x86_64-freebsd
226
- os : ubuntu-latest -xl
229
+ os : ubuntu-20.04 -xl
227
230
env : {}
228
231
- name : dist-x86_64-illumos
229
- os : ubuntu-latest -xl
232
+ os : ubuntu-20.04 -xl
230
233
env : {}
231
234
- name : dist-x86_64-linux
232
- os : ubuntu-latest -xl
235
+ os : ubuntu-20.04 -xl
233
236
env : {}
234
237
- name : dist-x86_64-linux-alt
235
238
env :
236
239
IMAGE : dist-x86_64-linux
237
- os : ubuntu-latest -xl
240
+ os : ubuntu-20.04 -xl
238
241
- name : dist-x86_64-musl
239
- os : ubuntu-latest -xl
242
+ os : ubuntu-20.04 -xl
240
243
env : {}
241
244
- name : dist-x86_64-netbsd
242
- os : ubuntu-latest -xl
245
+ os : ubuntu-20.04 -xl
243
246
env : {}
244
247
- name : i686-gnu
245
- os : ubuntu-latest -xl
248
+ os : ubuntu-20.04 -xl
246
249
env : {}
247
250
- name : i686-gnu-nopt
248
- os : ubuntu-latest -xl
251
+ os : ubuntu-20.04 -xl
249
252
env : {}
250
253
- name : mingw-check
251
- os : ubuntu-latest -xl
254
+ os : ubuntu-20.04 -xl
252
255
env : {}
253
256
- name : test-various
254
- os : ubuntu-latest -xl
257
+ os : ubuntu-20.04 -xl
255
258
env : {}
256
259
- name : wasm32
257
- os : ubuntu-latest -xl
260
+ os : ubuntu-20.04 -xl
258
261
env : {}
259
262
- name : x86_64-gnu
260
- os : ubuntu-latest -xl
263
+ os : ubuntu-20.04 -xl
261
264
env : {}
262
265
- name : x86_64-gnu-stable
263
266
env :
264
267
IMAGE : x86_64-gnu
265
268
RUST_CI_OVERRIDE_RELEASE_CHANNEL : stable
266
269
CI_ONLY_WHEN_CHANNEL : nightly
267
- os : ubuntu-latest -xl
270
+ os : ubuntu-20.04 -xl
268
271
- name : x86_64-gnu-aux
269
- os : ubuntu-latest -xl
272
+ os : ubuntu-20.04 -xl
270
273
env : {}
271
274
- name : x86_64-gnu-debug
272
- os : ubuntu-latest -xl
275
+ os : ubuntu-20.04 -xl
273
276
env : {}
274
277
- name : x86_64-gnu-distcheck
275
- os : ubuntu-latest -xl
278
+ os : ubuntu-20.04 -xl
276
279
env : {}
277
280
- name : x86_64-gnu-llvm-12
278
281
env :
279
282
RUST_BACKTRACE : 1
280
- os : ubuntu-latest -xl
283
+ os : ubuntu-20.04 -xl
281
284
- name : x86_64-gnu-nopt
282
- os : ubuntu-latest -xl
285
+ os : ubuntu-20.04 -xl
283
286
env : {}
284
287
- name : x86_64-gnu-tools
285
288
env :
286
289
DEPLOY_TOOLSTATES_JSON : toolstates-linux.json
287
- os : ubuntu-latest -xl
290
+ os : ubuntu-20.04 -xl
288
291
- name : dist-x86_64-apple
289
292
env :
290
- SCRIPT : " ./x.py dist --exclude rust-docs --exclude extended && ./x.py dist --target=x86_64-apple-darwin rust-docs && ./x.py dist extended "
291
- RUST_CONFIGURE_ARGS : " --host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim -- enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
293
+ SCRIPT : " ./x.py dist --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
294
+ RUST_CONFIGURE_ARGS : " --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
292
295
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
293
296
MACOSX_DEPLOYMENT_TARGET : 10.7
294
297
NO_LLVM_ASSERTIONS : 1
295
298
NO_DEBUG_ASSERTIONS : 1
296
299
NO_OVERFLOW_CHECKS : 1
297
300
DIST_REQUIRE_ALL_TOOLS : 1
298
301
os : macos-latest
302
+ - name : dist-apple-various
303
+ env :
304
+ SCRIPT : " ./x.py dist --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
305
+ RUST_CONFIGURE_ARGS : " --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
306
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
307
+ MACOSX_DEPLOYMENT_TARGET : 10.7
308
+ NO_LLVM_ASSERTIONS : 1
309
+ NO_DEBUG_ASSERTIONS : 1
310
+ NO_OVERFLOW_CHECKS : 1
311
+ os : macos-latest
299
312
- name : dist-x86_64-apple-alt
300
313
env :
301
314
SCRIPT : " ./x.py dist"
@@ -306,9 +319,20 @@ jobs:
306
319
NO_DEBUG_ASSERTIONS : 1
307
320
NO_OVERFLOW_CHECKS : 1
308
321
os : macos-latest
309
- - name : x86_64-apple
322
+ - name : x86_64-apple-1
310
323
env :
311
- SCRIPT : " ./x.py --stage 2 test"
324
+ SCRIPT : " ./x.py --stage 2 test --exclude src/test/ui --exclude src/test/rustdoc --exclude src/test/run-make-fulldeps"
325
+ RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
326
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
327
+ MACOSX_DEPLOYMENT_TARGET : 10.8
328
+ MACOSX_STD_DEPLOYMENT_TARGET : 10.7
329
+ NO_LLVM_ASSERTIONS : 1
330
+ NO_DEBUG_ASSERTIONS : 1
331
+ NO_OVERFLOW_CHECKS : 1
332
+ os : macos-latest
333
+ - name : x86_64-apple-2
334
+ env :
335
+ SCRIPT : " ./x.py --stage 2 test src/test/ui src/test/rustdoc src/test/run-make-fulldeps"
312
336
RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
313
337
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
314
338
MACOSX_DEPLOYMENT_TARGET : 10.8
@@ -320,7 +344,7 @@ jobs:
320
344
- name : dist-aarch64-apple
321
345
env :
322
346
SCRIPT : " ./x.py dist --stage 2"
323
- RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
347
+ RUST_CONFIGURE_ARGS : " --build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --disable-docs -- set rust.jemalloc --set llvm.ninja=false"
324
348
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
325
349
USE_XCODE_CLANG : 1
326
350
MACOSX_DEPLOYMENT_TARGET : 11.0
@@ -430,7 +454,7 @@ jobs:
430
454
- name : disable git crlf conversion
431
455
run : git config --global core.autocrlf false
432
456
- name : checkout the source code
433
- uses : actions/checkout@v2
457
+ uses : actions/checkout@v3
434
458
with :
435
459
fetch-depth : 2
436
460
- name : configure the PR in which the error message will be posted
@@ -478,6 +502,9 @@ jobs:
478
502
- name : disable git crlf conversion
479
503
run : src/ci/scripts/disable-git-crlf-conversion.sh
480
504
if : success() && !env.SKIP_JOB
505
+ - name : checkout submodules
506
+ run : src/ci/scripts/checkout-submodules.sh
507
+ if : success() && !env.SKIP_JOB
481
508
- name : install MSYS2
482
509
run : src/ci/scripts/install-msys2.sh
483
510
if : success() && !env.SKIP_JOB
@@ -493,15 +520,15 @@ jobs:
493
520
- name : disable git crlf conversion
494
521
run : src/ci/scripts/disable-git-crlf-conversion.sh
495
522
if : success() && !env.SKIP_JOB
496
- - name : checkout submodules
497
- run : src/ci/scripts/checkout-submodules.sh
498
- if : success() && !env.SKIP_JOB
499
523
- name : ensure line endings are correct
500
524
run : src/ci/scripts/verify-line-endings.sh
501
525
if : success() && !env.SKIP_JOB
502
526
- name : ensure backported commits are in upstream branches
503
527
run : src/ci/scripts/verify-backported-commits.sh
504
528
if : success() && !env.SKIP_JOB
529
+ - name : ensure the stable version number is correct
530
+ run : src/ci/scripts/verify-stable-version-number.sh
531
+ if : success() && !env.SKIP_JOB
505
532
- name : run the build
506
533
run : src/ci/scripts/run-build-from-ci.sh
507
534
env :
@@ -532,15 +559,15 @@ jobs:
532
559
matrix :
533
560
include :
534
561
- name : dist-x86_64-linux
535
- os : ubuntu-latest -xl
562
+ os : ubuntu-20.04 -xl
536
563
env : {}
537
564
timeout-minutes : 600
538
565
runs-on : " ${{ matrix.os }}"
539
566
steps :
540
567
- name : disable git crlf conversion
541
568
run : git config --global core.autocrlf false
542
569
- name : checkout the source code
543
- uses : actions/checkout@v2
570
+ uses : actions/checkout@v3
544
571
with :
545
572
fetch-depth : 2
546
573
- name : configure the PR in which the error message will be posted
@@ -588,6 +615,9 @@ jobs:
588
615
- name : disable git crlf conversion
589
616
run : src/ci/scripts/disable-git-crlf-conversion.sh
590
617
if : success() && !env.SKIP_JOB
618
+ - name : checkout submodules
619
+ run : src/ci/scripts/checkout-submodules.sh
620
+ if : success() && !env.SKIP_JOB
591
621
- name : install MSYS2
592
622
run : src/ci/scripts/install-msys2.sh
593
623
if : success() && !env.SKIP_JOB
@@ -603,15 +633,15 @@ jobs:
603
633
- name : disable git crlf conversion
604
634
run : src/ci/scripts/disable-git-crlf-conversion.sh
605
635
if : success() && !env.SKIP_JOB
606
- - name : checkout submodules
607
- run : src/ci/scripts/checkout-submodules.sh
608
- if : success() && !env.SKIP_JOB
609
636
- name : ensure line endings are correct
610
637
run : src/ci/scripts/verify-line-endings.sh
611
638
if : success() && !env.SKIP_JOB
612
639
- name : ensure backported commits are in upstream branches
613
640
run : src/ci/scripts/verify-backported-commits.sh
614
641
if : success() && !env.SKIP_JOB
642
+ - name : ensure the stable version number is correct
643
+ run : src/ci/scripts/verify-stable-version-number.sh
644
+ if : success() && !env.SKIP_JOB
615
645
- name : run the build
616
646
run : src/ci/scripts/run-build-from-ci.sh
617
647
env :
@@ -640,7 +670,7 @@ jobs:
640
670
if : " github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
641
671
steps :
642
672
- name : checkout the source code
643
- uses : actions/checkout@v2
673
+ uses : actions/checkout@v3
644
674
with :
645
675
fetch-depth : 2
646
676
- name : publish toolstate
0 commit comments