@@ -154,6 +154,11 @@ jobs:
154
154
strategy :
155
155
matrix :
156
156
include :
157
+ - name : aarch64-gnu
158
+ os :
159
+ - self-hosted
160
+ - ARM64
161
+ - linux
157
162
- name : arm-android
158
163
os : ubuntu-latest-xl
159
164
env : {}
@@ -509,116 +514,6 @@ jobs:
509
514
AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
510
515
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
511
516
if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
512
- auto-fallible :
513
- name : auto-fallible
514
- env :
515
- CI_JOB_NAME : " ${{ matrix.name }}"
516
- SCCACHE_BUCKET : rust-lang-gha-caches
517
- DEPLOY_BUCKET : rust-lang-gha
518
- TOOLSTATE_REPO : " https://github.com/pietroalbini/rust-toolstate"
519
- TOOLSTATE_ISSUES_API_URL : " https://api.github.com/repos/pietroalbini/rust-toolstate/issues"
520
- TOOLSTATE_PUBLISH : 1
521
- CACHES_AWS_ACCESS_KEY_ID : AKIA46X5W6CZOMUQATD5
522
- ARTIFACTS_AWS_ACCESS_KEY_ID : AKIA46X5W6CZH5AYXDVF
523
- CACHE_DOMAIN : ci-caches-gha.rust-lang.org
524
- if : " github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
525
- strategy :
526
- fail-fast : false
527
- matrix :
528
- include :
529
- - name : aarch64-gnu
530
- os :
531
- - self-hosted
532
- - ARM64
533
- - linux
534
- timeout-minutes : 600
535
- runs-on : " ${{ matrix.os }}"
536
- steps :
537
- - name : disable git crlf conversion
538
- run : git config --global core.autocrlf false
539
- - name : checkout the source code
540
- uses : actions/checkout@v2
541
- with :
542
- fetch-depth : 2
543
- - name : configure the PR in which the error message will be posted
544
- run : " echo \" [CI_PR_NUMBER=$num]\" "
545
- env :
546
- num : " ${{ github.event.number }}"
547
- if : " success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
548
- - name : add extra environment variables
549
- run : src/ci/scripts/setup-environment.sh
550
- env :
551
- EXTRA_VARIABLES : " ${{ toJson(matrix.env) }}"
552
- if : success() && !env.SKIP_JOB
553
- - name : decide whether to skip this job
554
- run : src/ci/scripts/should-skip-this.sh
555
- if : success() && !env.SKIP_JOB
556
- - name : configure GitHub Actions to kill the build when outdated
557
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
558
- with :
559
- github_token : " ${{ secrets.github_token }}"
560
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
561
- - name : collect CPU statistics
562
- run : src/ci/scripts/collect-cpu-stats.sh
563
- if : success() && !env.SKIP_JOB
564
- - name : show the current environment
565
- run : src/ci/scripts/dump-environment.sh
566
- if : success() && !env.SKIP_JOB
567
- - name : install awscli
568
- run : src/ci/scripts/install-awscli.sh
569
- if : success() && !env.SKIP_JOB
570
- - name : install sccache
571
- run : src/ci/scripts/install-sccache.sh
572
- if : success() && !env.SKIP_JOB
573
- - name : select Xcode
574
- run : src/ci/scripts/select-xcode.sh
575
- if : success() && !env.SKIP_JOB
576
- - name : install clang
577
- run : src/ci/scripts/install-clang.sh
578
- if : success() && !env.SKIP_JOB
579
- - name : install WIX
580
- run : src/ci/scripts/install-wix.sh
581
- if : success() && !env.SKIP_JOB
582
- - name : ensure the build happens on a partition with enough space
583
- run : src/ci/scripts/symlink-build-dir.sh
584
- if : success() && !env.SKIP_JOB
585
- - name : disable git crlf conversion
586
- run : src/ci/scripts/disable-git-crlf-conversion.sh
587
- if : success() && !env.SKIP_JOB
588
- - name : install MSYS2
589
- run : src/ci/scripts/install-msys2.sh
590
- if : success() && !env.SKIP_JOB
591
- - name : install MinGW
592
- run : src/ci/scripts/install-mingw.sh
593
- if : success() && !env.SKIP_JOB
594
- - name : install ninja
595
- run : src/ci/scripts/install-ninja.sh
596
- if : success() && !env.SKIP_JOB
597
- - name : enable ipv6 on Docker
598
- run : src/ci/scripts/enable-docker-ipv6.sh
599
- if : success() && !env.SKIP_JOB
600
- - name : disable git crlf conversion
601
- run : src/ci/scripts/disable-git-crlf-conversion.sh
602
- if : success() && !env.SKIP_JOB
603
- - name : checkout submodules
604
- run : src/ci/scripts/checkout-submodules.sh
605
- if : success() && !env.SKIP_JOB
606
- - name : ensure line endings are correct
607
- run : src/ci/scripts/verify-line-endings.sh
608
- if : success() && !env.SKIP_JOB
609
- - name : run the build
610
- run : src/ci/scripts/run-build-from-ci.sh
611
- env :
612
- AWS_ACCESS_KEY_ID : " ${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
613
- AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
614
- TOOLSTATE_REPO_ACCESS_TOKEN : " ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
615
- if : success() && !env.SKIP_JOB
616
- - name : upload artifacts to S3
617
- run : src/ci/scripts/upload-artifacts.sh
618
- env :
619
- AWS_ACCESS_KEY_ID : " ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
620
- AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
621
- if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
622
517
try :
623
518
name : try
624
519
env :
0 commit comments