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: run the build
132 run: src/ci/scripts/run-build-from-ci.sh
134 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
135 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
136 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
137 if: success() && !env.SKIP_JOB
138 - name: upload artifacts to S3
139 run: src/ci/scripts/upload-artifacts.sh
141 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
142 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
143 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
147 CI_JOB_NAME: "${{ matrix.name }}"
148 SCCACHE_BUCKET: rust-lang-ci-sccache2
149 DEPLOY_BUCKET: rust-lang-ci2
150 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
151 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
153 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
154 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
155 CACHE_DOMAIN: ci-caches.rust-lang.org
156 if: "github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
171 - name: dist-aarch64-linux
177 - name: dist-arm-linux
180 - name: dist-armhf-linux
183 - name: dist-armv7-linux
186 - name: dist-i586-gnu-i586-i686-musl
189 - name: dist-i686-linux
192 - name: dist-mips-linux
195 - name: dist-mips64-linux
198 - name: dist-mips64el-linux
201 - name: dist-mipsel-linux
204 - name: dist-powerpc-linux
207 - name: dist-powerpc64-linux
210 - name: dist-powerpc64le-linux
213 - name: dist-riscv64-linux
216 - name: dist-s390x-linux
219 - name: dist-various-1
222 - name: dist-various-2
225 - name: dist-x86_64-freebsd
228 - name: dist-x86_64-illumos
231 - name: dist-x86_64-linux
234 - name: dist-x86_64-linux-alt
236 IMAGE: dist-x86_64-linux
238 - name: dist-x86_64-musl
241 - name: dist-x86_64-netbsd
247 - name: i686-gnu-nopt
262 - name: x86_64-gnu-aux
265 - name: x86_64-gnu-debug
268 - name: x86_64-gnu-distcheck
271 - name: x86_64-gnu-llvm-10
275 - name: x86_64-gnu-nopt
278 - name: x86_64-gnu-tools
280 DEPLOY_TOOLSTATES_JSON: toolstates-linux.json
282 - name: dist-x86_64-apple
284 SCRIPT: "./x.py dist"
285 RUST_CONFIGURE_ARGS: "--host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
286 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
287 MACOSX_DEPLOYMENT_TARGET: 10.7
288 NO_LLVM_ASSERTIONS: 1
289 NO_DEBUG_ASSERTIONS: 1
290 DIST_REQUIRE_ALL_TOOLS: 1
292 - name: dist-x86_64-apple-alt
294 SCRIPT: "./x.py dist"
295 RUST_CONFIGURE_ARGS: "--enable-extended --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
296 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
297 MACOSX_DEPLOYMENT_TARGET: 10.7
298 NO_LLVM_ASSERTIONS: 1
299 NO_DEBUG_ASSERTIONS: 1
303 SCRIPT: "./x.py --stage 2 test"
304 RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
305 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
306 MACOSX_DEPLOYMENT_TARGET: 10.8
307 MACOSX_STD_DEPLOYMENT_TARGET: 10.7
308 NO_LLVM_ASSERTIONS: 1
309 NO_DEBUG_ASSERTIONS: 1
311 - name: dist-aarch64-apple
313 SCRIPT: "./x.py dist --stage 2"
314 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"
315 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
316 SELECT_XCODE: /Applications/Xcode_12.2.app
318 MACOSX_DEPLOYMENT_TARGET: 11.0
319 MACOSX_STD_DEPLOYMENT_TARGET: 11.0
320 NO_LLVM_ASSERTIONS: 1
321 NO_DEBUG_ASSERTIONS: 1
322 DIST_REQUIRE_ALL_TOOLS: 1
323 JEMALLOC_SYS_WITH_LG_PAGE: 14
325 - name: x86_64-msvc-1
327 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
328 SCRIPT: make ci-subset-1
329 os: windows-latest-xl
330 - name: x86_64-msvc-2
332 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
333 SCRIPT: make ci-subset-2
334 os: windows-latest-xl
337 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
338 SCRIPT: make ci-subset-1
339 os: windows-latest-xl
342 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
343 SCRIPT: make ci-subset-2
344 os: windows-latest-xl
345 - name: x86_64-msvc-cargo
347 SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
348 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
349 VCVARS_BAT: vcvars64.bat
350 os: windows-latest-xl
351 - name: x86_64-msvc-tools
353 SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
354 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
355 DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
356 os: windows-latest-xl
359 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
360 SCRIPT: make ci-mingw-subset-1
362 os: windows-latest-xl
365 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
366 SCRIPT: make ci-mingw-subset-2
368 os: windows-latest-xl
369 - name: x86_64-mingw-1
371 SCRIPT: make ci-mingw-subset-1
372 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
374 os: windows-latest-xl
375 - name: x86_64-mingw-2
377 SCRIPT: make ci-mingw-subset-2
378 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
380 os: windows-latest-xl
381 - name: dist-x86_64-msvc
383 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"
384 SCRIPT: python x.py dist
385 DIST_REQUIRE_ALL_TOOLS: 1
386 os: windows-latest-xl
387 - name: dist-i686-msvc
389 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"
390 SCRIPT: python x.py dist
391 DIST_REQUIRE_ALL_TOOLS: 1
392 os: windows-latest-xl
393 - name: dist-aarch64-msvc
395 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
396 SCRIPT: python x.py dist
397 DIST_REQUIRE_ALL_TOOLS: 0
398 os: windows-latest-xl
399 - name: dist-i686-mingw
401 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
402 SCRIPT: python x.py dist
404 DIST_REQUIRE_ALL_TOOLS: 1
405 os: windows-latest-xl
406 - name: dist-x86_64-mingw
408 SCRIPT: python x.py dist
409 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
411 DIST_REQUIRE_ALL_TOOLS: 1
412 os: windows-latest-xl
413 - name: dist-x86_64-msvc-alt
415 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
416 SCRIPT: python x.py dist
417 os: windows-latest-xl
419 runs-on: "${{ matrix.os }}"
421 - name: disable git crlf conversion
422 run: git config --global core.autocrlf false
423 - name: checkout the source code
424 uses: actions/checkout@v2
427 - name: configure the PR in which the error message will be posted
428 run: "echo \"[CI_PR_NUMBER=$num]\""
430 num: "${{ github.event.number }}"
431 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
432 - name: add extra environment variables
433 run: src/ci/scripts/setup-environment.sh
435 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
436 if: success() && !env.SKIP_JOB
437 - name: decide whether to skip this job
438 run: src/ci/scripts/should-skip-this.sh
439 if: success() && !env.SKIP_JOB
440 - name: ensure the channel matches the target branch
441 run: src/ci/scripts/verify-channel.sh
442 if: success() && !env.SKIP_JOB
443 - name: configure GitHub Actions to kill the build when outdated
444 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
446 github_token: "${{ secrets.github_token }}"
447 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
448 - name: collect CPU statistics
449 run: src/ci/scripts/collect-cpu-stats.sh
450 if: success() && !env.SKIP_JOB
451 - name: show the current environment
452 run: src/ci/scripts/dump-environment.sh
453 if: success() && !env.SKIP_JOB
454 - name: install awscli
455 run: src/ci/scripts/install-awscli.sh
456 if: success() && !env.SKIP_JOB
457 - name: install sccache
458 run: src/ci/scripts/install-sccache.sh
459 if: success() && !env.SKIP_JOB
461 run: src/ci/scripts/select-xcode.sh
462 if: success() && !env.SKIP_JOB
463 - name: install clang
464 run: src/ci/scripts/install-clang.sh
465 if: success() && !env.SKIP_JOB
467 run: src/ci/scripts/install-wix.sh
468 if: success() && !env.SKIP_JOB
469 - name: ensure the build happens on a partition with enough space
470 run: src/ci/scripts/symlink-build-dir.sh
471 if: success() && !env.SKIP_JOB
472 - name: disable git crlf conversion
473 run: src/ci/scripts/disable-git-crlf-conversion.sh
474 if: success() && !env.SKIP_JOB
475 - name: install MSYS2
476 run: src/ci/scripts/install-msys2.sh
477 if: success() && !env.SKIP_JOB
478 - name: install MinGW
479 run: src/ci/scripts/install-mingw.sh
480 if: success() && !env.SKIP_JOB
481 - name: install ninja
482 run: src/ci/scripts/install-ninja.sh
483 if: success() && !env.SKIP_JOB
484 - name: enable ipv6 on Docker
485 run: src/ci/scripts/enable-docker-ipv6.sh
486 if: success() && !env.SKIP_JOB
487 - name: disable git crlf conversion
488 run: src/ci/scripts/disable-git-crlf-conversion.sh
489 if: success() && !env.SKIP_JOB
490 - name: checkout submodules
491 run: src/ci/scripts/checkout-submodules.sh
492 if: success() && !env.SKIP_JOB
493 - name: ensure line endings are correct
494 run: src/ci/scripts/verify-line-endings.sh
495 if: success() && !env.SKIP_JOB
496 - name: run the build
497 run: src/ci/scripts/run-build-from-ci.sh
499 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
500 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
501 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
502 if: success() && !env.SKIP_JOB
503 - name: upload artifacts to S3
504 run: src/ci/scripts/upload-artifacts.sh
506 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
507 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
508 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
512 CI_JOB_NAME: "${{ matrix.name }}"
513 SCCACHE_BUCKET: rust-lang-ci-sccache2
514 DEPLOY_BUCKET: rust-lang-ci2
515 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
516 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
518 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
519 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
520 CACHE_DOMAIN: ci-caches.rust-lang.org
521 if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
525 - name: dist-x86_64-linux
529 runs-on: "${{ matrix.os }}"
531 - name: disable git crlf conversion
532 run: git config --global core.autocrlf false
533 - name: checkout the source code
534 uses: actions/checkout@v2
537 - name: configure the PR in which the error message will be posted
538 run: "echo \"[CI_PR_NUMBER=$num]\""
540 num: "${{ github.event.number }}"
541 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
542 - name: add extra environment variables
543 run: src/ci/scripts/setup-environment.sh
545 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
546 if: success() && !env.SKIP_JOB
547 - name: decide whether to skip this job
548 run: src/ci/scripts/should-skip-this.sh
549 if: success() && !env.SKIP_JOB
550 - name: ensure the channel matches the target branch
551 run: src/ci/scripts/verify-channel.sh
552 if: success() && !env.SKIP_JOB
553 - name: configure GitHub Actions to kill the build when outdated
554 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
556 github_token: "${{ secrets.github_token }}"
557 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
558 - name: collect CPU statistics
559 run: src/ci/scripts/collect-cpu-stats.sh
560 if: success() && !env.SKIP_JOB
561 - name: show the current environment
562 run: src/ci/scripts/dump-environment.sh
563 if: success() && !env.SKIP_JOB
564 - name: install awscli
565 run: src/ci/scripts/install-awscli.sh
566 if: success() && !env.SKIP_JOB
567 - name: install sccache
568 run: src/ci/scripts/install-sccache.sh
569 if: success() && !env.SKIP_JOB
571 run: src/ci/scripts/select-xcode.sh
572 if: success() && !env.SKIP_JOB
573 - name: install clang
574 run: src/ci/scripts/install-clang.sh
575 if: success() && !env.SKIP_JOB
577 run: src/ci/scripts/install-wix.sh
578 if: success() && !env.SKIP_JOB
579 - name: ensure the build happens on a partition with enough space
580 run: src/ci/scripts/symlink-build-dir.sh
581 if: success() && !env.SKIP_JOB
582 - name: disable git crlf conversion
583 run: src/ci/scripts/disable-git-crlf-conversion.sh
584 if: success() && !env.SKIP_JOB
585 - name: install MSYS2
586 run: src/ci/scripts/install-msys2.sh
587 if: success() && !env.SKIP_JOB
588 - name: install MinGW
589 run: src/ci/scripts/install-mingw.sh
590 if: success() && !env.SKIP_JOB
591 - name: install ninja
592 run: src/ci/scripts/install-ninja.sh
593 if: success() && !env.SKIP_JOB
594 - name: enable ipv6 on Docker
595 run: src/ci/scripts/enable-docker-ipv6.sh
596 if: success() && !env.SKIP_JOB
597 - name: disable git crlf conversion
598 run: src/ci/scripts/disable-git-crlf-conversion.sh
599 if: success() && !env.SKIP_JOB
600 - name: checkout submodules
601 run: src/ci/scripts/checkout-submodules.sh
602 if: success() && !env.SKIP_JOB
603 - name: ensure line endings are correct
604 run: src/ci/scripts/verify-line-endings.sh
605 if: success() && !env.SKIP_JOB
606 - name: run the build
607 run: src/ci/scripts/run-build-from-ci.sh
609 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
610 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
611 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
612 if: success() && !env.SKIP_JOB
613 - name: upload artifacts to S3
614 run: src/ci/scripts/upload-artifacts.sh
616 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
617 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
618 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
621 runs-on: ubuntu-latest
623 SCCACHE_BUCKET: rust-lang-ci-sccache2
624 DEPLOY_BUCKET: rust-lang-ci2
625 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
626 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
628 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
629 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
630 CACHE_DOMAIN: ci-caches.rust-lang.org
631 if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
633 - name: checkout the source code
634 uses: actions/checkout@v2
637 - name: publish toolstate
638 run: src/ci/publish_toolstate.sh
641 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
642 if: success() && !env.SKIP_JOB
646 if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
648 - name: mark the job as a success
651 name: bors build finished
652 runs-on: ubuntu-latest
656 if: "!success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
658 - name: mark the job as a failure
661 name: bors build finished
662 runs-on: ubuntu-latest
666 if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
668 - name: mark the job as a success
671 name: bors build finished
672 runs-on: ubuntu-latest
676 if: "!success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
678 - name: mark the job as a failure
681 name: bors build finished
682 runs-on: ubuntu-latest