@@ -165,20 +165,6 @@ jobs:
165165 - name : create github artifacts
166166 run : src/ci/scripts/create-doc-artifacts.sh
167167 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')"
182168 auto :
183169 name : " auto - ${{ matrix.name }}"
184170 env :
@@ -409,72 +395,72 @@ jobs:
409395 env :
410396 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
411397 SCRIPT : make ci-msvc
412- os : windows-2019 -8core-32gb
398+ os : windows-2022 -8core-32gb
413399 - name : i686-msvc
414400 env :
415401 RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-msvc"
416402 SCRIPT : make ci-msvc
417- os : windows-2019 -8core-32gb
403+ os : windows-2022 -8core-32gb
418404 - name : x86_64-msvc-ext
419405 env :
420406 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
421407 HOST_TARGET : x86_64-pc-windows-msvc
422408 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json"
423409 DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
424- os : windows-2019 -8core-32gb
410+ os : windows-2022 -8core-32gb
425411 - name : i686-mingw
426412 env :
427413 RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu"
428414 SCRIPT : make ci-mingw
429415 NO_DOWNLOAD_CI_LLVM : 1
430416 CUSTOM_MINGW : 1
431- os : windows-2019 -8core-32gb
417+ os : windows-2022 -8core-32gb
432418 - name : x86_64-mingw
433419 env :
434420 SCRIPT : make ci-mingw
435421 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-profiler"
436422 NO_DOWNLOAD_CI_LLVM : 1
437423 CUSTOM_MINGW : 1
438- os : windows-2019 -8core-32gb
424+ os : windows-2022 -8core-32gb
439425 - name : dist-x86_64-msvc
440426 env :
441427 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"
442428 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
443429 DIST_REQUIRE_ALL_TOOLS : 1
444- os : windows-2019 -8core-32gb
430+ os : windows-2022 -8core-32gb
445431 - name : dist-i686-msvc
446432 env :
447433 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"
448434 SCRIPT : python x.py dist bootstrap --include-default-paths
449435 DIST_REQUIRE_ALL_TOOLS : 1
450- os : windows-2019 -8core-32gb
436+ os : windows-2022 -8core-32gb
451437 - name : dist-aarch64-msvc
452438 env :
453439 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
454440 SCRIPT : python x.py dist bootstrap --include-default-paths
455441 DIST_REQUIRE_ALL_TOOLS : 1
456- os : windows-2019 -8core-32gb
442+ os : windows-2022 -8core-32gb
457443 - name : dist-i686-mingw
458444 env :
459445 RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
460446 NO_DOWNLOAD_CI_LLVM : 1
461447 SCRIPT : python x.py dist bootstrap --include-default-paths
462448 CUSTOM_MINGW : 1
463449 DIST_REQUIRE_ALL_TOOLS : 1
464- os : windows-2019 -8core-32gb
450+ os : windows-2022 -8core-32gb
465451 - name : dist-x86_64-mingw
466452 env :
467453 SCRIPT : python x.py dist bootstrap --include-default-paths
468454 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
469455 NO_DOWNLOAD_CI_LLVM : 1
470456 CUSTOM_MINGW : 1
471457 DIST_REQUIRE_ALL_TOOLS : 1
472- os : windows-2019 -8core-32gb
458+ os : windows-2022 -8core-32gb
473459 - name : dist-x86_64-msvc-alt
474460 env :
475461 RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
476462 SCRIPT : python x.py dist bootstrap --include-default-paths
477- os : windows-2019 -8core-32gb
463+ os : windows-2022 -8core-32gb
478464 defaults :
479465 run :
480466 shell : " ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
@@ -575,20 +561,6 @@ jobs:
575561 - name : create github artifacts
576562 run : src/ci/scripts/create-doc-artifacts.sh
577563 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')"
592564 try :
593565 name : " try - ${{ matrix.name }}"
594566 env :
@@ -714,20 +686,6 @@ jobs:
714686 - name : create github artifacts
715687 run : src/ci/scripts/create-doc-artifacts.sh
716688 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')"
731689 master :
732690 name : master
733691 runs-on : ubuntu-latest
0 commit comments