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-stable
265 RUST_CI_OVERRIDE_RELEASE_CHANNEL: stable
266 CI_ONLY_WHEN_CHANNEL: nightly
268 - name: x86_64-gnu-aux
271 - name: x86_64-gnu-debug
274 - name: x86_64-gnu-distcheck
277 - name: x86_64-gnu-llvm-10
281 - name: x86_64-gnu-nopt
284 - name: x86_64-gnu-tools
286 DEPLOY_TOOLSTATES_JSON: toolstates-linux.json
288 - name: dist-x86_64-apple
290 SCRIPT: "./x.py dist"
291 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"
292 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
293 MACOSX_DEPLOYMENT_TARGET: 10.7
294 NO_LLVM_ASSERTIONS: 1
295 NO_DEBUG_ASSERTIONS: 1
296 DIST_REQUIRE_ALL_TOOLS: 1
298 - name: dist-x86_64-apple-alt
300 SCRIPT: "./x.py dist"
301 RUST_CONFIGURE_ARGS: "--enable-extended --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
302 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
303 MACOSX_DEPLOYMENT_TARGET: 10.7
304 NO_LLVM_ASSERTIONS: 1
305 NO_DEBUG_ASSERTIONS: 1
309 SCRIPT: "./x.py --stage 2 test"
310 RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
311 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
312 MACOSX_DEPLOYMENT_TARGET: 10.8
313 MACOSX_STD_DEPLOYMENT_TARGET: 10.7
314 NO_LLVM_ASSERTIONS: 1
315 NO_DEBUG_ASSERTIONS: 1
317 - name: dist-aarch64-apple
319 SCRIPT: "./x.py dist --stage 2"
320 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"
321 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
322 SELECT_XCODE: /Applications/Xcode_12.2.app
324 MACOSX_DEPLOYMENT_TARGET: 11.0
325 MACOSX_STD_DEPLOYMENT_TARGET: 11.0
326 NO_LLVM_ASSERTIONS: 1
327 NO_DEBUG_ASSERTIONS: 1
328 DIST_REQUIRE_ALL_TOOLS: 1
329 JEMALLOC_SYS_WITH_LG_PAGE: 14
331 - name: x86_64-msvc-1
333 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
334 SCRIPT: make ci-subset-1
335 os: windows-latest-xl
336 - name: x86_64-msvc-2
338 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
339 SCRIPT: make ci-subset-2
340 os: windows-latest-xl
343 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
344 SCRIPT: make ci-subset-1
345 os: windows-latest-xl
348 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
349 SCRIPT: make ci-subset-2
350 os: windows-latest-xl
351 - name: x86_64-msvc-cargo
353 SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
354 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
355 VCVARS_BAT: vcvars64.bat
356 os: windows-latest-xl
357 - name: x86_64-msvc-tools
359 SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
360 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
361 DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
362 os: windows-latest-xl
365 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
366 SCRIPT: make ci-mingw-subset-1
368 os: windows-latest-xl
371 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
372 SCRIPT: make ci-mingw-subset-2
374 os: windows-latest-xl
375 - name: x86_64-mingw-1
377 SCRIPT: make ci-mingw-subset-1
378 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
380 os: windows-latest-xl
381 - name: x86_64-mingw-2
383 SCRIPT: make ci-mingw-subset-2
384 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
386 os: windows-latest-xl
387 - name: dist-x86_64-msvc
389 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"
390 SCRIPT: python x.py dist
391 DIST_REQUIRE_ALL_TOOLS: 1
392 os: windows-latest-xl
393 - name: dist-i686-msvc
395 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"
396 SCRIPT: python x.py dist
397 DIST_REQUIRE_ALL_TOOLS: 1
398 os: windows-latest-xl
399 - name: dist-aarch64-msvc
401 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
402 SCRIPT: python x.py dist
403 DIST_REQUIRE_ALL_TOOLS: 0
404 os: windows-latest-xl
405 - name: dist-i686-mingw
407 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
408 SCRIPT: python x.py dist
410 DIST_REQUIRE_ALL_TOOLS: 1
411 os: windows-latest-xl
412 - name: dist-x86_64-mingw
414 SCRIPT: python x.py dist
415 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
417 DIST_REQUIRE_ALL_TOOLS: 1
418 os: windows-latest-xl
419 - name: dist-x86_64-msvc-alt
421 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
422 SCRIPT: python x.py dist
423 os: windows-latest-xl
425 runs-on: "${{ matrix.os }}"
427 - name: disable git crlf conversion
428 run: git config --global core.autocrlf false
429 - name: checkout the source code
430 uses: actions/checkout@v2
433 - name: configure the PR in which the error message will be posted
434 run: "echo \"[CI_PR_NUMBER=$num]\""
436 num: "${{ github.event.number }}"
437 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
438 - name: add extra environment variables
439 run: src/ci/scripts/setup-environment.sh
441 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
442 if: success() && !env.SKIP_JOB
443 - name: decide whether to skip this job
444 run: src/ci/scripts/should-skip-this.sh
445 if: success() && !env.SKIP_JOB
446 - name: ensure the channel matches the target branch
447 run: src/ci/scripts/verify-channel.sh
448 if: success() && !env.SKIP_JOB
449 - name: configure GitHub Actions to kill the build when outdated
450 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
452 github_token: "${{ secrets.github_token }}"
453 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
454 - name: collect CPU statistics
455 run: src/ci/scripts/collect-cpu-stats.sh
456 if: success() && !env.SKIP_JOB
457 - name: show the current environment
458 run: src/ci/scripts/dump-environment.sh
459 if: success() && !env.SKIP_JOB
460 - name: install awscli
461 run: src/ci/scripts/install-awscli.sh
462 if: success() && !env.SKIP_JOB
463 - name: install sccache
464 run: src/ci/scripts/install-sccache.sh
465 if: success() && !env.SKIP_JOB
467 run: src/ci/scripts/select-xcode.sh
468 if: success() && !env.SKIP_JOB
469 - name: install clang
470 run: src/ci/scripts/install-clang.sh
471 if: success() && !env.SKIP_JOB
473 run: src/ci/scripts/install-wix.sh
474 if: success() && !env.SKIP_JOB
475 - name: ensure the build happens on a partition with enough space
476 run: src/ci/scripts/symlink-build-dir.sh
477 if: success() && !env.SKIP_JOB
478 - name: disable git crlf conversion
479 run: src/ci/scripts/disable-git-crlf-conversion.sh
480 if: success() && !env.SKIP_JOB
481 - name: install MSYS2
482 run: src/ci/scripts/install-msys2.sh
483 if: success() && !env.SKIP_JOB
484 - name: install MinGW
485 run: src/ci/scripts/install-mingw.sh
486 if: success() && !env.SKIP_JOB
487 - name: install ninja
488 run: src/ci/scripts/install-ninja.sh
489 if: success() && !env.SKIP_JOB
490 - name: enable ipv6 on Docker
491 run: src/ci/scripts/enable-docker-ipv6.sh
492 if: success() && !env.SKIP_JOB
493 - name: disable git crlf conversion
494 run: src/ci/scripts/disable-git-crlf-conversion.sh
495 if: success() && !env.SKIP_JOB
496 - name: checkout submodules
497 run: src/ci/scripts/checkout-submodules.sh
498 if: success() && !env.SKIP_JOB
499 - name: ensure line endings are correct
500 run: src/ci/scripts/verify-line-endings.sh
501 if: success() && !env.SKIP_JOB
502 - name: run the build
503 run: src/ci/scripts/run-build-from-ci.sh
505 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
506 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
507 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
508 if: success() && !env.SKIP_JOB
509 - name: upload artifacts to S3
510 run: src/ci/scripts/upload-artifacts.sh
512 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
513 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
514 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
518 CI_JOB_NAME: "${{ matrix.name }}"
519 SCCACHE_BUCKET: rust-lang-ci-sccache2
520 DEPLOY_BUCKET: rust-lang-ci2
521 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
522 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
524 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
525 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
526 CACHE_DOMAIN: ci-caches.rust-lang.org
527 if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
531 - name: dist-x86_64-linux
535 runs-on: "${{ matrix.os }}"
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
543 - name: configure the PR in which the error message will be posted
544 run: "echo \"[CI_PR_NUMBER=$num]\""
546 num: "${{ github.event.number }}"
547 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
548 - name: add extra environment variables
549 run: src/ci/scripts/setup-environment.sh
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: ensure the channel matches the target branch
557 run: src/ci/scripts/verify-channel.sh
558 if: success() && !env.SKIP_JOB
559 - name: configure GitHub Actions to kill the build when outdated
560 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
562 github_token: "${{ secrets.github_token }}"
563 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
564 - name: collect CPU statistics
565 run: src/ci/scripts/collect-cpu-stats.sh
566 if: success() && !env.SKIP_JOB
567 - name: show the current environment
568 run: src/ci/scripts/dump-environment.sh
569 if: success() && !env.SKIP_JOB
570 - name: install awscli
571 run: src/ci/scripts/install-awscli.sh
572 if: success() && !env.SKIP_JOB
573 - name: install sccache
574 run: src/ci/scripts/install-sccache.sh
575 if: success() && !env.SKIP_JOB
577 run: src/ci/scripts/select-xcode.sh
578 if: success() && !env.SKIP_JOB
579 - name: install clang
580 run: src/ci/scripts/install-clang.sh
581 if: success() && !env.SKIP_JOB
583 run: src/ci/scripts/install-wix.sh
584 if: success() && !env.SKIP_JOB
585 - name: ensure the build happens on a partition with enough space
586 run: src/ci/scripts/symlink-build-dir.sh
587 if: success() && !env.SKIP_JOB
588 - name: disable git crlf conversion
589 run: src/ci/scripts/disable-git-crlf-conversion.sh
590 if: success() && !env.SKIP_JOB
591 - name: install MSYS2
592 run: src/ci/scripts/install-msys2.sh
593 if: success() && !env.SKIP_JOB
594 - name: install MinGW
595 run: src/ci/scripts/install-mingw.sh
596 if: success() && !env.SKIP_JOB
597 - name: install ninja
598 run: src/ci/scripts/install-ninja.sh
599 if: success() && !env.SKIP_JOB
600 - name: enable ipv6 on Docker
601 run: src/ci/scripts/enable-docker-ipv6.sh
602 if: success() && !env.SKIP_JOB
603 - name: disable git crlf conversion
604 run: src/ci/scripts/disable-git-crlf-conversion.sh
605 if: success() && !env.SKIP_JOB
606 - name: checkout submodules
607 run: src/ci/scripts/checkout-submodules.sh
608 if: success() && !env.SKIP_JOB
609 - name: ensure line endings are correct
610 run: src/ci/scripts/verify-line-endings.sh
611 if: success() && !env.SKIP_JOB
612 - name: run the build
613 run: src/ci/scripts/run-build-from-ci.sh
615 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
616 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
617 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
618 if: success() && !env.SKIP_JOB
619 - name: upload artifacts to S3
620 run: src/ci/scripts/upload-artifacts.sh
622 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
623 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
624 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
627 runs-on: ubuntu-latest
629 SCCACHE_BUCKET: rust-lang-ci-sccache2
630 DEPLOY_BUCKET: rust-lang-ci2
631 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
632 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
634 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
635 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
636 CACHE_DOMAIN: ci-caches.rust-lang.org
637 if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
639 - name: checkout the source code
640 uses: actions/checkout@v2
643 - name: publish toolstate
644 run: src/ci/publish_toolstate.sh
647 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
648 if: success() && !env.SKIP_JOB
652 if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
654 - name: mark the job as a success
657 name: bors build finished
658 runs-on: ubuntu-latest
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 failure
667 name: bors build finished
668 runs-on: ubuntu-latest
672 if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
674 - name: mark the job as a success
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 failure
687 name: bors build finished
688 runs-on: ubuntu-latest