@@ -165,20 +165,6 @@ jobs:
165
165
- name : create github artifacts
166
166
run : src/ci/scripts/create-doc-artifacts.sh
167
167
if : success() && !env.SKIP_JOB
168
- - name : upload artifacts to github
169
- uses : actions/upload-artifact@v4
170
- with :
171
- name : " ${{ env.DOC_ARTIFACT_NAME }}"
172
- path : obj/artifacts/doc
173
- if-no-files-found : ignore
174
- retention-days : 5
175
- if : success() && !env.SKIP_JOB
176
- - name : upload artifacts to S3
177
- run : src/ci/scripts/upload-artifacts.sh
178
- env :
179
- AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
180
- AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
181
- if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
182
168
auto :
183
169
name : " auto - ${{ matrix.name }}"
184
170
env :
@@ -409,72 +395,72 @@ jobs:
409
395
env :
410
396
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
411
397
SCRIPT : make ci-msvc
412
- os : windows-2019 -8core-32gb
398
+ os : windows-2022 -8core-32gb
413
399
- name : i686-msvc
414
400
env :
415
401
RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-msvc"
416
402
SCRIPT : make ci-msvc
417
- os : windows-2019 -8core-32gb
403
+ os : windows-2022 -8core-32gb
418
404
- name : x86_64-msvc-ext
419
405
env :
420
406
SCRIPT : python x.py --stage 2 test src/tools/cargotest src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
421
407
HOST_TARGET : x86_64-pc-windows-msvc
422
408
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json"
423
409
DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
424
- os : windows-2019 -8core-32gb
410
+ os : windows-2022 -8core-32gb
425
411
- name : i686-mingw
426
412
env :
427
413
RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu"
428
414
SCRIPT : make ci-mingw
429
415
NO_DOWNLOAD_CI_LLVM : 1
430
416
CUSTOM_MINGW : 1
431
- os : windows-2019 -8core-32gb
417
+ os : windows-2022 -8core-32gb
432
418
- name : x86_64-mingw
433
419
env :
434
420
SCRIPT : make ci-mingw
435
421
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler"
436
422
NO_DOWNLOAD_CI_LLVM : 1
437
423
CUSTOM_MINGW : 1
438
- os : windows-2019 -8core-32gb
424
+ os : windows-2022 -8core-32gb
439
425
- name : dist-x86_64-msvc
440
426
env :
441
427
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.codegen-units=1"
442
428
SCRIPT : python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths
443
429
DIST_REQUIRE_ALL_TOOLS : 1
444
- os : windows-2019 -8core-32gb
430
+ os : windows-2022 -8core-32gb
445
431
- name : dist-i686-msvc
446
432
env :
447
433
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"
448
434
SCRIPT : python x.py dist bootstrap --include-default-paths
449
435
DIST_REQUIRE_ALL_TOOLS : 1
450
- os : windows-2019 -8core-32gb
436
+ os : windows-2022 -8core-32gb
451
437
- name : dist-aarch64-msvc
452
438
env :
453
439
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
454
440
SCRIPT : python x.py dist bootstrap --include-default-paths
455
441
DIST_REQUIRE_ALL_TOOLS : 1
456
- os : windows-2019 -8core-32gb
442
+ os : windows-2022 -8core-32gb
457
443
- name : dist-i686-mingw
458
444
env :
459
445
RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
460
446
NO_DOWNLOAD_CI_LLVM : 1
461
447
SCRIPT : python x.py dist bootstrap --include-default-paths
462
448
CUSTOM_MINGW : 1
463
449
DIST_REQUIRE_ALL_TOOLS : 1
464
- os : windows-2019 -8core-32gb
450
+ os : windows-2022 -8core-32gb
465
451
- name : dist-x86_64-mingw
466
452
env :
467
453
SCRIPT : python x.py dist bootstrap --include-default-paths
468
454
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
469
455
NO_DOWNLOAD_CI_LLVM : 1
470
456
CUSTOM_MINGW : 1
471
457
DIST_REQUIRE_ALL_TOOLS : 1
472
- os : windows-2019 -8core-32gb
458
+ os : windows-2022 -8core-32gb
473
459
- name : dist-x86_64-msvc-alt
474
460
env :
475
461
RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
476
462
SCRIPT : python x.py dist bootstrap --include-default-paths
477
- os : windows-2019 -8core-32gb
463
+ os : windows-2022 -8core-32gb
478
464
defaults :
479
465
run :
480
466
shell : " ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
@@ -575,20 +561,6 @@ jobs:
575
561
- name : create github artifacts
576
562
run : src/ci/scripts/create-doc-artifacts.sh
577
563
if : success() && !env.SKIP_JOB
578
- - name : upload artifacts to github
579
- uses : actions/upload-artifact@v4
580
- with :
581
- name : " ${{ env.DOC_ARTIFACT_NAME }}"
582
- path : obj/artifacts/doc
583
- if-no-files-found : ignore
584
- retention-days : 5
585
- if : success() && !env.SKIP_JOB
586
- - name : upload artifacts to S3
587
- run : src/ci/scripts/upload-artifacts.sh
588
- env :
589
- AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
590
- AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
591
- if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
592
564
try :
593
565
name : " try - ${{ matrix.name }}"
594
566
env :
@@ -714,20 +686,6 @@ jobs:
714
686
- name : create github artifacts
715
687
run : src/ci/scripts/create-doc-artifacts.sh
716
688
if : success() && !env.SKIP_JOB
717
- - name : upload artifacts to github
718
- uses : actions/upload-artifact@v4
719
- with :
720
- name : " ${{ env.DOC_ARTIFACT_NAME }}"
721
- path : obj/artifacts/doc
722
- if-no-files-found : ignore
723
- retention-days : 5
724
- if : success() && !env.SKIP_JOB
725
- - name : upload artifacts to S3
726
- run : src/ci/scripts/upload-artifacts.sh
727
- env :
728
- AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
729
- AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
730
- if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
731
689
master :
732
690
name : master
733
691
runs-on : ubuntu-latest
0 commit comments