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-9
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: configure GitHub Actions to kill the build when outdated
76 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
78 github_token: "${{ secrets.github_token }}"
79 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
80 - name: collect CPU statistics
81 run: src/ci/scripts/collect-cpu-stats.sh
82 if: success() && !env.SKIP_JOB
83 - name: show the current environment
84 run: src/ci/scripts/dump-environment.sh
85 if: success() && !env.SKIP_JOB
86 - name: install awscli
87 run: src/ci/scripts/install-awscli.sh
88 if: success() && !env.SKIP_JOB
89 - name: install sccache
90 run: src/ci/scripts/install-sccache.sh
91 if: success() && !env.SKIP_JOB
93 run: src/ci/scripts/select-xcode.sh
94 if: success() && !env.SKIP_JOB
96 run: src/ci/scripts/install-clang.sh
97 if: success() && !env.SKIP_JOB
99 run: src/ci/scripts/install-wix.sh
100 if: success() && !env.SKIP_JOB
101 - name: ensure the build happens on a partition with enough space
102 run: src/ci/scripts/symlink-build-dir.sh
103 if: success() && !env.SKIP_JOB
104 - name: disable git crlf conversion
105 run: src/ci/scripts/disable-git-crlf-conversion.sh
106 if: success() && !env.SKIP_JOB
107 - name: install MSYS2
108 run: src/ci/scripts/install-msys2.sh
109 if: success() && !env.SKIP_JOB
110 - name: install MinGW
111 run: src/ci/scripts/install-mingw.sh
112 if: success() && !env.SKIP_JOB
113 - name: install ninja
114 run: src/ci/scripts/install-ninja.sh
115 if: success() && !env.SKIP_JOB
116 - name: enable ipv6 on Docker
117 run: src/ci/scripts/enable-docker-ipv6.sh
118 if: success() && !env.SKIP_JOB
119 - name: disable git crlf conversion
120 run: src/ci/scripts/disable-git-crlf-conversion.sh
121 if: success() && !env.SKIP_JOB
122 - name: checkout submodules
123 run: src/ci/scripts/checkout-submodules.sh
124 if: success() && !env.SKIP_JOB
125 - name: ensure line endings are correct
126 run: src/ci/scripts/verify-line-endings.sh
127 if: success() && !env.SKIP_JOB
128 - name: run the build
129 run: src/ci/scripts/run-build-from-ci.sh
131 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
132 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
133 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
134 if: success() && !env.SKIP_JOB
135 - name: upload artifacts to S3
136 run: src/ci/scripts/upload-artifacts.sh
138 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
139 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
140 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
144 CI_JOB_NAME: "${{ matrix.name }}"
145 SCCACHE_BUCKET: rust-lang-ci-sccache2
146 DEPLOY_BUCKET: rust-lang-ci2
147 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
148 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
150 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
151 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
152 CACHE_DOMAIN: ci-caches.rust-lang.org
153 if: "github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
168 - name: dist-aarch64-linux
174 - name: dist-arm-linux
177 - name: dist-armhf-linux
180 - name: dist-armv7-linux
183 - name: dist-i586-gnu-i586-i686-musl
186 - name: dist-i686-linux
189 - name: dist-mips-linux
192 - name: dist-mips64-linux
195 - name: dist-mips64el-linux
198 - name: dist-mipsel-linux
201 - name: dist-powerpc-linux
204 - name: dist-powerpc64-linux
207 - name: dist-powerpc64le-linux
210 - name: dist-riscv64-linux
213 - name: dist-s390x-linux
216 - name: dist-various-1
219 - name: dist-various-2
222 - name: dist-x86_64-freebsd
225 - name: dist-x86_64-illumos
228 - name: dist-x86_64-linux
231 - name: dist-x86_64-linux-alt
233 IMAGE: dist-x86_64-linux
235 - name: dist-x86_64-musl
238 - name: dist-x86_64-netbsd
244 - name: i686-gnu-nopt
259 - name: x86_64-gnu-aux
262 - name: x86_64-gnu-debug
265 - name: x86_64-gnu-distcheck
268 - name: x86_64-gnu-llvm-9
272 - name: x86_64-gnu-nopt
275 - name: x86_64-gnu-tools
277 DEPLOY_TOOLSTATES_JSON: toolstates-linux.json
279 - name: dist-x86_64-apple
281 SCRIPT: "./x.py dist"
282 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"
283 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
284 MACOSX_DEPLOYMENT_TARGET: 10.7
285 NO_LLVM_ASSERTIONS: 1
286 NO_DEBUG_ASSERTIONS: 1
287 DIST_REQUIRE_ALL_TOOLS: 1
289 - name: dist-x86_64-apple-alt
291 SCRIPT: "./x.py dist"
292 RUST_CONFIGURE_ARGS: "--enable-extended --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
293 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
294 MACOSX_DEPLOYMENT_TARGET: 10.7
295 NO_LLVM_ASSERTIONS: 1
296 NO_DEBUG_ASSERTIONS: 1
300 SCRIPT: "./x.py --stage 2 test"
301 RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
302 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
303 MACOSX_DEPLOYMENT_TARGET: 10.8
304 MACOSX_STD_DEPLOYMENT_TARGET: 10.7
305 NO_LLVM_ASSERTIONS: 1
306 NO_DEBUG_ASSERTIONS: 1
308 - name: dist-aarch64-apple
310 SCRIPT: "./x.py dist --stage 2"
311 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"
312 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
313 SELECT_XCODE: /Applications/Xcode_12.2.app
315 MACOSX_DEPLOYMENT_TARGET: 11.0
316 MACOSX_STD_DEPLOYMENT_TARGET: 11.0
317 NO_LLVM_ASSERTIONS: 1
318 NO_DEBUG_ASSERTIONS: 1
319 DIST_REQUIRE_ALL_TOOLS: 1
320 JEMALLOC_SYS_WITH_LG_PAGE: 14
322 - name: x86_64-msvc-1
324 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
325 SCRIPT: make ci-subset-1
326 os: windows-latest-xl
327 - name: x86_64-msvc-2
329 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
330 SCRIPT: make ci-subset-2
331 os: windows-latest-xl
334 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
335 SCRIPT: make ci-subset-1
336 os: windows-latest-xl
339 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-msvc"
340 SCRIPT: make ci-subset-2
341 os: windows-latest-xl
342 - name: x86_64-msvc-cargo
344 SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo
345 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
346 VCVARS_BAT: vcvars64.bat
347 os: windows-latest-xl
348 - name: x86_64-msvc-tools
350 SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
351 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
352 DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
353 os: windows-latest-xl
356 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
357 SCRIPT: make ci-mingw-subset-1
359 os: windows-latest-xl
362 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu"
363 SCRIPT: make ci-mingw-subset-2
365 os: windows-latest-xl
366 - name: x86_64-mingw-1
368 SCRIPT: make ci-mingw-subset-1
369 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
371 os: windows-latest-xl
372 - name: x86_64-mingw-2
374 SCRIPT: make ci-mingw-subset-2
375 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-profiler"
377 os: windows-latest-xl
378 - name: dist-x86_64-msvc
380 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"
381 SCRIPT: python x.py dist
382 DIST_REQUIRE_ALL_TOOLS: 1
383 os: windows-latest-xl
384 - name: dist-i686-msvc
386 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"
387 SCRIPT: python x.py dist
388 DIST_REQUIRE_ALL_TOOLS: 1
389 os: windows-latest-xl
390 - name: dist-aarch64-msvc
392 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
393 SCRIPT: python x.py dist
394 DIST_REQUIRE_ALL_TOOLS: 0
395 os: windows-latest-xl
396 - name: dist-i686-mingw
398 RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
399 SCRIPT: python x.py dist
401 DIST_REQUIRE_ALL_TOOLS: 1
402 os: windows-latest-xl
403 - name: dist-x86_64-mingw
405 SCRIPT: python x.py dist
406 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler"
408 DIST_REQUIRE_ALL_TOOLS: 1
409 os: windows-latest-xl
410 - name: dist-x86_64-msvc-alt
412 RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler"
413 SCRIPT: python x.py dist
414 os: windows-latest-xl
416 runs-on: "${{ matrix.os }}"
418 - name: disable git crlf conversion
419 run: git config --global core.autocrlf false
420 - name: checkout the source code
421 uses: actions/checkout@v2
424 - name: configure the PR in which the error message will be posted
425 run: "echo \"[CI_PR_NUMBER=$num]\""
427 num: "${{ github.event.number }}"
428 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
429 - name: add extra environment variables
430 run: src/ci/scripts/setup-environment.sh
432 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
433 if: success() && !env.SKIP_JOB
434 - name: decide whether to skip this job
435 run: src/ci/scripts/should-skip-this.sh
436 if: success() && !env.SKIP_JOB
437 - name: configure GitHub Actions to kill the build when outdated
438 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
440 github_token: "${{ secrets.github_token }}"
441 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
442 - name: collect CPU statistics
443 run: src/ci/scripts/collect-cpu-stats.sh
444 if: success() && !env.SKIP_JOB
445 - name: show the current environment
446 run: src/ci/scripts/dump-environment.sh
447 if: success() && !env.SKIP_JOB
448 - name: install awscli
449 run: src/ci/scripts/install-awscli.sh
450 if: success() && !env.SKIP_JOB
451 - name: install sccache
452 run: src/ci/scripts/install-sccache.sh
453 if: success() && !env.SKIP_JOB
455 run: src/ci/scripts/select-xcode.sh
456 if: success() && !env.SKIP_JOB
457 - name: install clang
458 run: src/ci/scripts/install-clang.sh
459 if: success() && !env.SKIP_JOB
461 run: src/ci/scripts/install-wix.sh
462 if: success() && !env.SKIP_JOB
463 - name: ensure the build happens on a partition with enough space
464 run: src/ci/scripts/symlink-build-dir.sh
465 if: success() && !env.SKIP_JOB
466 - name: disable git crlf conversion
467 run: src/ci/scripts/disable-git-crlf-conversion.sh
468 if: success() && !env.SKIP_JOB
469 - name: install MSYS2
470 run: src/ci/scripts/install-msys2.sh
471 if: success() && !env.SKIP_JOB
472 - name: install MinGW
473 run: src/ci/scripts/install-mingw.sh
474 if: success() && !env.SKIP_JOB
475 - name: install ninja
476 run: src/ci/scripts/install-ninja.sh
477 if: success() && !env.SKIP_JOB
478 - name: enable ipv6 on Docker
479 run: src/ci/scripts/enable-docker-ipv6.sh
480 if: success() && !env.SKIP_JOB
481 - name: disable git crlf conversion
482 run: src/ci/scripts/disable-git-crlf-conversion.sh
483 if: success() && !env.SKIP_JOB
484 - name: checkout submodules
485 run: src/ci/scripts/checkout-submodules.sh
486 if: success() && !env.SKIP_JOB
487 - name: ensure line endings are correct
488 run: src/ci/scripts/verify-line-endings.sh
489 if: success() && !env.SKIP_JOB
490 - name: run the build
491 run: src/ci/scripts/run-build-from-ci.sh
493 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
494 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
495 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
496 if: success() && !env.SKIP_JOB
497 - name: upload artifacts to S3
498 run: src/ci/scripts/upload-artifacts.sh
500 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
501 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
502 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
506 CI_JOB_NAME: "${{ matrix.name }}"
507 SCCACHE_BUCKET: rust-lang-ci-sccache2
508 DEPLOY_BUCKET: rust-lang-ci2
509 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
510 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
512 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
513 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
514 CACHE_DOMAIN: ci-caches.rust-lang.org
515 if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
519 - name: dist-x86_64-linux
523 runs-on: "${{ matrix.os }}"
525 - name: disable git crlf conversion
526 run: git config --global core.autocrlf false
527 - name: checkout the source code
528 uses: actions/checkout@v2
531 - name: configure the PR in which the error message will be posted
532 run: "echo \"[CI_PR_NUMBER=$num]\""
534 num: "${{ github.event.number }}"
535 if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
536 - name: add extra environment variables
537 run: src/ci/scripts/setup-environment.sh
539 EXTRA_VARIABLES: "${{ toJson(matrix.env) }}"
540 if: success() && !env.SKIP_JOB
541 - name: decide whether to skip this job
542 run: src/ci/scripts/should-skip-this.sh
543 if: success() && !env.SKIP_JOB
544 - name: configure GitHub Actions to kill the build when outdated
545 uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
547 github_token: "${{ secrets.github_token }}"
548 if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
549 - name: collect CPU statistics
550 run: src/ci/scripts/collect-cpu-stats.sh
551 if: success() && !env.SKIP_JOB
552 - name: show the current environment
553 run: src/ci/scripts/dump-environment.sh
554 if: success() && !env.SKIP_JOB
555 - name: install awscli
556 run: src/ci/scripts/install-awscli.sh
557 if: success() && !env.SKIP_JOB
558 - name: install sccache
559 run: src/ci/scripts/install-sccache.sh
560 if: success() && !env.SKIP_JOB
562 run: src/ci/scripts/select-xcode.sh
563 if: success() && !env.SKIP_JOB
564 - name: install clang
565 run: src/ci/scripts/install-clang.sh
566 if: success() && !env.SKIP_JOB
568 run: src/ci/scripts/install-wix.sh
569 if: success() && !env.SKIP_JOB
570 - name: ensure the build happens on a partition with enough space
571 run: src/ci/scripts/symlink-build-dir.sh
572 if: success() && !env.SKIP_JOB
573 - name: disable git crlf conversion
574 run: src/ci/scripts/disable-git-crlf-conversion.sh
575 if: success() && !env.SKIP_JOB
576 - name: install MSYS2
577 run: src/ci/scripts/install-msys2.sh
578 if: success() && !env.SKIP_JOB
579 - name: install MinGW
580 run: src/ci/scripts/install-mingw.sh
581 if: success() && !env.SKIP_JOB
582 - name: install ninja
583 run: src/ci/scripts/install-ninja.sh
584 if: success() && !env.SKIP_JOB
585 - name: enable ipv6 on Docker
586 run: src/ci/scripts/enable-docker-ipv6.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: checkout submodules
592 run: src/ci/scripts/checkout-submodules.sh
593 if: success() && !env.SKIP_JOB
594 - name: ensure line endings are correct
595 run: src/ci/scripts/verify-line-endings.sh
596 if: success() && !env.SKIP_JOB
597 - name: run the build
598 run: src/ci/scripts/run-build-from-ci.sh
600 AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}"
601 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}"
602 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
603 if: success() && !env.SKIP_JOB
604 - name: upload artifacts to S3
605 run: src/ci/scripts/upload-artifacts.sh
607 AWS_ACCESS_KEY_ID: "${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}"
608 AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
609 if: "success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
612 runs-on: ubuntu-latest
614 SCCACHE_BUCKET: rust-lang-ci-sccache2
615 DEPLOY_BUCKET: rust-lang-ci2
616 TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate"
617 TOOLSTATE_ISSUES_API_URL: "https://api.github.com/repos/rust-lang/rust/issues"
619 CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZI5DHEBFL
620 ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
621 CACHE_DOMAIN: ci-caches.rust-lang.org
622 if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
624 - name: checkout the source code
625 uses: actions/checkout@v1
628 - name: publish toolstate
629 run: src/ci/publish_toolstate.sh
632 TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}"
633 if: success() && !env.SKIP_JOB
637 if: "success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
639 - name: mark the job as a success
642 name: bors build finished
643 runs-on: ubuntu-latest
647 if: "!success() && github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
649 - name: mark the job as a failure
652 name: bors build finished
653 runs-on: ubuntu-latest
657 if: "success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
659 - name: mark the job as a success
662 name: bors build finished
663 runs-on: ubuntu-latest
667 if: "!success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
669 - name: mark the job as a failure
672 name: bors build finished
673 runs-on: ubuntu-latest