1 #############################################################
2 # WARNING: automatically generated file, DO NOT CHANGE! #
3 #############################################################
5 # This file was automatically generated by the expand-yaml-anchors tool. The
6 # source file that generated this one is:
8 # src/ci/github-actions/ci.yml
10 # Once you make changes to that file you need to run:
12 # ./x.py run src/tools/expand-yaml-anchors/
14 # The CI build will fail if the tool is not run after changes to this file.
35 CI_JOB_NAME: "${{ matrix.name }}"
36 SCCACHE_BUCKET: rust-lang-ci-sccache2
37 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
38 CACHE_DOMAIN: ci-caches.rust-lang.org
39 if: "github.event_name == 'pull_request'"
46 - name: x86_64-gnu-llvm-10
49 - name: x86_64-gnu-tools
51 CI_ONLY_WHEN_SUBMODULES_CHANGED: 1
54 runs-on: "${{ matrix.os }}"
56 - name: disable git crlf conversion
57 run: git config --global core.autocrlf false
58 - name: checkout the source code
59 uses: actions/checkout@v2
62 - name: configure the PR in which the error message will be posted
63 run: "echo \"[CI_PR_NUMBER=$num]\""
65 num: "${{ github.event.number }}"
66 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
67 - name: add extra environment variables
68 run: src/ci/scripts/setup-environment.sh
70 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
71 if: success() && !env.SKIP_JOB
72 - name: decide whether to skip this job
73 run: src/ci/scripts/should-skip-this.sh
74 if: success() && !env.SKIP_JOB
75 - name: ensure the channel matches the target branch
76 run: src/ci/scripts/verify-channel.sh
77 if: success() && !env.SKIP_JOB
78 - name: configure GitHub Actions to kill the build when outdated
79 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
81 github_token: "${{ secrets.github_token }}"
82 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
83 - name: collect CPU statistics
84 run: src/ci/scripts/collect-cpu-stats.sh
85 if: success() && !env.SKIP_JOB
86 - name: show the current environment
87 run: src/ci/scripts/dump-environment.sh
88 if: success() && !env.SKIP_JOB
89 - name: install awscli
90 run: src/ci/scripts/install-awscli.sh
91 if: success() && !env.SKIP_JOB
92 - name: install sccache
93 run: src/ci/scripts/install-sccache.sh
94 if: success() && !env.SKIP_JOB
96 run: src/ci/scripts/select-xcode.sh
97 if: success() && !env.SKIP_JOB
99 run: src/ci/scripts/install-clang.sh
100 if: success() && !env.SKIP_JOB
102 run: src/ci/scripts/install-wix.sh
103 if: success() && !env.SKIP_JOB
104 - name: ensure the build happens on a partition with enough space
105 run: src/ci/scripts/symlink-build-dir.sh
106 if: success() && !env.SKIP_JOB
107 - name: disable git crlf conversion
108 run: src/ci/scripts/disable-git-crlf-conversion.sh
109 if: success() && !env.SKIP_JOB
110 - name: install MSYS2
111 run: src/ci/scripts/install-msys2.sh
112 if: success() && !env.SKIP_JOB
113 - name: install MinGW
114 run: src/ci/scripts/install-mingw.sh
115 if: success() && !env.SKIP_JOB
116 - name: install ninja
117 run: src/ci/scripts/install-ninja.sh
118 if: success() && !env.SKIP_JOB
119 - name: enable ipv6 on Docker
120 run: src/ci/scripts/enable-docker-ipv6.sh
121 if: success() && !env.SKIP_JOB
122 - name: disable git crlf conversion
123 run: src/ci/scripts/disable-git-crlf-conversion.sh
124 if: success() && !env.SKIP_JOB
125 - name: checkout submodules
126 run: src/ci/scripts/checkout-submodules.sh
127 if: success() && !env.SKIP_JOB
128 - name: ensure line endings are correct
129 run: src/ci/scripts/verify-line-endings.sh
130 if: success() && !env.SKIP_JOB
131 - name: ensure backported commits are in upstream branches
132 run: src/ci/scripts/verify-backported-commits.sh
133 if: success() && !env.SKIP_JOB
134 - name: run the build
135 run: src/ci/scripts/run-build-from-ci.sh
137 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
138 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
139 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
140 if: success() && !env.SKIP_JOB
141 - name: upload artifacts to S3
142 run: src/ci/scripts/upload-artifacts.sh
144 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
145 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
146 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
150 CI_JOB_NAME: "${{ matrix.name }}"
151 SCCACHE_BUCKET: rust-lang-ci-sccache2
152 DEPLOY_BUCKET: rust-lang-ci2
153 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
154 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
156 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
157 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
158 CACHE_DOMAIN: ci-caches.rust-lang.org
159 if: "github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
174 - name: dist-aarch64-linux
180 - name: dist-arm-linux
183 - name: dist-armhf-linux
186 - name: dist-armv7-linux
189 - name: dist-i586-gnu-i586-i686-musl
192 - name: dist-i686-linux
195 - name: dist-mips-linux
198 - name: dist-mips64-linux
201 - name: dist-mips64el-linux
204 - name: dist-mipsel-linux
207 - name: dist-powerpc-linux
210 - name: dist-powerpc64-linux
213 - name: dist-powerpc64le-linux
216 - name: dist-riscv64-linux
219 - name: dist-s390x-linux
222 - name: dist-various-1
225 - name: dist-various-2
228 - name: dist-x86_64-freebsd
231 - name: dist-x86_64-illumos
234 - name: dist-x86_64-linux
237 - name: dist-x86_64-linux-alt
239 IMAGE: dist-x86_64-linux
241 - name: dist-x86_64-musl
244 - name: dist-x86_64-netbsd
250 - name: i686-gnu-nopt
265 - name: x86_64-gnu-stable
268 RUST_CI_OVERRIDE_RELEASE_CHANNEL: stable
269 CI_ONLY_WHEN_CHANNEL: nightly
271 - name: x86_64-gnu-aux
274 - name: x86_64-gnu-debug
277 - name: x86_64-gnu-distcheck
280 - name: x86_64-gnu-llvm-10
284 - name: x86_64-gnu-nopt
287 - name: x86_64-gnu-tools
289 DEPLOY_TOOLSTATES_JSON: toolstates-linux.json
291 - name: dist-x86_64-apple
293 SCRIPT: "./x.py dist"
294 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"
295 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
296 MACOSX_DEPLOYMENT_TARGET: 10.7
297 NO_LLVM_ASSERTIONS: 1
298 NO_DEBUG_ASSERTIONS: 1
299 DIST_REQUIRE_ALL_TOOLS: 1
301 - name: dist-x86_64-apple-alt
303 SCRIPT: "./x.py dist"
304 RUST_CONFIGURE_ARGS: "--enable-extended --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
305 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
306 MACOSX_DEPLOYMENT_TARGET: 10.7
307 NO_LLVM_ASSERTIONS: 1
308 NO_DEBUG_ASSERTIONS: 1
312 SCRIPT: "./x.py --stage 2 test"
313 RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
314 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
315 MACOSX_DEPLOYMENT_TARGET: 10.8
316 MACOSX_STD_DEPLOYMENT_TARGET: 10.7
317 NO_LLVM_ASSERTIONS: 1
318 NO_DEBUG_ASSERTIONS: 1
320 - name: dist-aarch64-apple
322 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"
324 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
325 SELECT_XCODE: /Applications/Xcode_12.2.app
327 MACOSX_DEPLOYMENT_TARGET: 11.0
328 MACOSX_STD_DEPLOYMENT_TARGET: 11.0
329 NO_LLVM_ASSERTIONS: 1
330 NO_DEBUG_ASSERTIONS: 1
331 DIST_REQUIRE_ALL_TOOLS: 1
332 JEMALLOC_SYS_WITH_LG_PAGE: 14
334 - name: x86_64-msvc-1
336 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
337 SCRIPT: make ci-subset-1
338 os: windows-latest-xl
339 - name: x86_64-msvc-2
341 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
342 SCRIPT: make ci-subset-2
343 os: windows-latest-xl
346 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
347 SCRIPT: make ci-subset-1
348 os: windows-latest-xl
351 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
352 SCRIPT: make ci-subset-2
353 os: windows-latest-xl
354 - name: x86_64-msvc-cargo
356 SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
357 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
358 VCVARS_BAT: vcvars64.bat
359 os: windows-latest-xl
360 - name: x86_64-msvc-tools
362 SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
363 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
364 DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
365 os: windows-latest-xl
368 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
369 SCRIPT: make ci-mingw-subset-1
371 os: windows-latest-xl
374 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
375 SCRIPT: make ci-mingw-subset-2
377 os: windows-latest-xl
378 - name: x86_64-mingw-1
380 SCRIPT: make ci-mingw-subset-1
381 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
383 os: windows-latest-xl
384 - name: x86_64-mingw-2
386 SCRIPT: make ci-mingw-subset-2
387 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
389 os: windows-latest-xl
390 - name: dist-x86_64-msvc
392 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"
393 SCRIPT: python x.py dist
394 DIST_REQUIRE_ALL_TOOLS: 1
395 os: windows-latest-xl
396 - name: dist-i686-msvc
398 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"
399 SCRIPT: python x.py dist
400 DIST_REQUIRE_ALL_TOOLS: 1
401 os: windows-latest-xl
402 - name: dist-aarch64-msvc
404 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
405 SCRIPT: python x.py dist
406 DIST_REQUIRE_ALL_TOOLS: 0
407 WINDOWS_SDK_20348_HACK: 1
408 os: windows-latest-xl
409 - name: dist-i686-mingw
411 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
412 SCRIPT: python x.py dist
414 DIST_REQUIRE_ALL_TOOLS: 1
415 os: windows-latest-xl
416 - name: dist-x86_64-mingw
418 SCRIPT: python x.py dist
419 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
421 DIST_REQUIRE_ALL_TOOLS: 1
422 os: windows-latest-xl
423 - name: dist-x86_64-msvc-alt
425 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
426 SCRIPT: python x.py dist
427 os: windows-latest-xl
429 runs-on: "${{ matrix.os }}"
431 - name: disable git crlf conversion
432 run: git config --global core.autocrlf false
433 - name: checkout the source code
434 uses: actions/checkout@v2
437 - name: configure the PR in which the error message will be posted
438 run: "echo \"[CI_PR_NUMBER=$num]\""
440 num: "${{ github.event.number }}"
441 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
442 - name: add extra environment variables
443 run: src/ci/scripts/setup-environment.sh
445 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
446 if: success() && !env.SKIP_JOB
447 - name: decide whether to skip this job
448 run: src/ci/scripts/should-skip-this.sh
449 if: success() && !env.SKIP_JOB
450 - name: ensure the channel matches the target branch
451 run: src/ci/scripts/verify-channel.sh
452 if: success() && !env.SKIP_JOB
453 - name: configure GitHub Actions to kill the build when outdated
454 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
456 github_token: "${{ secrets.github_token }}"
457 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
458 - name: collect CPU statistics
459 run: src/ci/scripts/collect-cpu-stats.sh
460 if: success() && !env.SKIP_JOB
461 - name: show the current environment
462 run: src/ci/scripts/dump-environment.sh
463 if: success() && !env.SKIP_JOB
464 - name: install awscli
465 run: src/ci/scripts/install-awscli.sh
466 if: success() && !env.SKIP_JOB
467 - name: install sccache
468 run: src/ci/scripts/install-sccache.sh
469 if: success() && !env.SKIP_JOB
471 run: src/ci/scripts/select-xcode.sh
472 if: success() && !env.SKIP_JOB
473 - name: install clang
474 run: src/ci/scripts/install-clang.sh
475 if: success() && !env.SKIP_JOB
477 run: src/ci/scripts/install-wix.sh
478 if: success() && !env.SKIP_JOB
479 - name: ensure the build happens on a partition with enough space
480 run: src/ci/scripts/symlink-build-dir.sh
481 if: success() && !env.SKIP_JOB
482 - name: disable git crlf conversion
483 run: src/ci/scripts/disable-git-crlf-conversion.sh
484 if: success() && !env.SKIP_JOB
485 - name: install MSYS2
486 run: src/ci/scripts/install-msys2.sh
487 if: success() && !env.SKIP_JOB
488 - name: install MinGW
489 run: src/ci/scripts/install-mingw.sh
490 if: success() && !env.SKIP_JOB
491 - name: install ninja
492 run: src/ci/scripts/install-ninja.sh
493 if: success() && !env.SKIP_JOB
494 - name: enable ipv6 on Docker
495 run: src/ci/scripts/enable-docker-ipv6.sh
496 if: success() && !env.SKIP_JOB
497 - name: disable git crlf conversion
498 run: src/ci/scripts/disable-git-crlf-conversion.sh
499 if: success() && !env.SKIP_JOB
500 - name: checkout submodules
501 run: src/ci/scripts/checkout-submodules.sh
502 if: success() && !env.SKIP_JOB
503 - name: ensure line endings are correct
504 run: src/ci/scripts/verify-line-endings.sh
505 if: success() && !env.SKIP_JOB
506 - name: ensure backported commits are in upstream branches
507 run: src/ci/scripts/verify-backported-commits.sh
508 if: success() && !env.SKIP_JOB
509 - name: run the build
510 run: src/ci/scripts/run-build-from-ci.sh
512 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
513 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
514 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
515 if: success() && !env.SKIP_JOB
516 - name: upload artifacts to S3
517 run: src/ci/scripts/upload-artifacts.sh
519 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
520 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
521 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
525 CI_JOB_NAME: "${{ matrix.name }}"
526 SCCACHE_BUCKET: rust-lang-ci-sccache2
527 DEPLOY_BUCKET: rust-lang-ci2
528 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
529 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
531 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
532 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
533 CACHE_DOMAIN: ci-caches.rust-lang.org
534 if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
538 - name: dist-x86_64-linux
542 runs-on: "${{ matrix.os }}"
544 - name: disable git crlf conversion
545 run: git config --global core.autocrlf false
546 - name: checkout the source code
547 uses: actions/checkout@v2
550 - name: configure the PR in which the error message will be posted
551 run: "echo \"[CI_PR_NUMBER=$num]\""
553 num: "${{ github.event.number }}"
554 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
555 - name: add extra environment variables
556 run: src/ci/scripts/setup-environment.sh
558 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
559 if: success() && !env.SKIP_JOB
560 - name: decide whether to skip this job
561 run: src/ci/scripts/should-skip-this.sh
562 if: success() && !env.SKIP_JOB
563 - name: ensure the channel matches the target branch
564 run: src/ci/scripts/verify-channel.sh
565 if: success() && !env.SKIP_JOB
566 - name: configure GitHub Actions to kill the build when outdated
567 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
569 github_token: "${{ secrets.github_token }}"
570 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
571 - name: collect CPU statistics
572 run: src/ci/scripts/collect-cpu-stats.sh
573 if: success() && !env.SKIP_JOB
574 - name: show the current environment
575 run: src/ci/scripts/dump-environment.sh
576 if: success() && !env.SKIP_JOB
577 - name: install awscli
578 run: src/ci/scripts/install-awscli.sh
579 if: success() && !env.SKIP_JOB
580 - name: install sccache
581 run: src/ci/scripts/install-sccache.sh
582 if: success() && !env.SKIP_JOB
584 run: src/ci/scripts/select-xcode.sh
585 if: success() && !env.SKIP_JOB
586 - name: install clang
587 run: src/ci/scripts/install-clang.sh
588 if: success() && !env.SKIP_JOB
590 run: src/ci/scripts/install-wix.sh
591 if: success() && !env.SKIP_JOB
592 - name: ensure the build happens on a partition with enough space
593 run: src/ci/scripts/symlink-build-dir.sh
594 if: success() && !env.SKIP_JOB
595 - name: disable git crlf conversion
596 run: src/ci/scripts/disable-git-crlf-conversion.sh
597 if: success() && !env.SKIP_JOB
598 - name: install MSYS2
599 run: src/ci/scripts/install-msys2.sh
600 if: success() && !env.SKIP_JOB
601 - name: install MinGW
602 run: src/ci/scripts/install-mingw.sh
603 if: success() && !env.SKIP_JOB
604 - name: install ninja
605 run: src/ci/scripts/install-ninja.sh
606 if: success() && !env.SKIP_JOB
607 - name: enable ipv6 on Docker
608 run: src/ci/scripts/enable-docker-ipv6.sh
609 if: success() && !env.SKIP_JOB
610 - name: disable git crlf conversion
611 run: src/ci/scripts/disable-git-crlf-conversion.sh
612 if: success() && !env.SKIP_JOB
613 - name: checkout submodules
614 run: src/ci/scripts/checkout-submodules.sh
615 if: success() && !env.SKIP_JOB
616 - name: ensure line endings are correct
617 run: src/ci/scripts/verify-line-endings.sh
618 if: success() && !env.SKIP_JOB
619 - name: ensure backported commits are in upstream branches
620 run: src/ci/scripts/verify-backported-commits.sh
621 if: success() && !env.SKIP_JOB
622 - name: run the build
623 run: src/ci/scripts/run-build-from-ci.sh
625 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
626 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
627 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
628 if: success() && !env.SKIP_JOB
629 - name: upload artifacts to S3
630 run: src/ci/scripts/upload-artifacts.sh
632 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
633 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
634 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
637 runs-on: ubuntu-latest
639 SCCACHE_BUCKET: rust-lang-ci-sccache2
640 DEPLOY_BUCKET: rust-lang-ci2
641 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
642 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
644 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
645 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
646 CACHE_DOMAIN: ci-caches.rust-lang.org
647 if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
649 - name: checkout the source code
650 uses: actions/checkout@v2
653 - name: publish toolstate
654 run: src/ci/publish_toolstate.sh
657 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
658 if: success() && !env.SKIP_JOB
662 if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
664 - name: mark the job as a success
667 name: bors build finished
668 runs-on: ubuntu-latest
672 if: "!success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
674 - name: mark the job as a failure
677 name: bors build finished
678 runs-on: ubuntu-latest
682 if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
684 - name: mark the job as a success
687 name: bors build finished
688 runs-on: ubuntu-latest
692 if: "!success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
694 - name: mark the job as a failure
697 name: bors build finished
698 runs-on: ubuntu-latest