about summary refs log tree commit diff
path: root/src/ci/github-actions
AgeCommit message (Collapse)AuthorLines
2025-08-24Fix some minor issues in commentshoupo-bob-4/+4
Signed-off-by: houpo-bob <houpocun@outlook.com>
2025-08-21ci: don't cleanup windows diskMarcoIeni-1/+0
2025-08-15Demote x86_64-apple-darwin to Tier 2 with host toolsJake Goulding-30/+15
Switch to only using aarch64 runners (implying we are now cross-compiling) and stop running tests. In the future, we could enable (some?) tests via Rosetta 2.
2025-08-12Replace `stage0-tools-bin` with `stage1-tools-bin`Jakub Beránek-1/+1
2025-07-30Auto merge of #144305 - ChrisDenton:win-free-disk-space, r=marcoienibors-11/+2
Free disk space on Windows 2025 runners I've managed to reduce the time deletion takes by: - Using powershell, which is generally faster for filesystem operations than msys2 - Performing deletions concurrently then waiting for them all to complete It still takes 2-10 mins but that's not too bad.
2025-07-30Free disk space on Windows 2025 runnersChris Denton-11/+2
2025-07-29Rollup merge of #144367 - shepmaster:reduce-x86-macos-runner-usage, ↵Stuart Cook-1/+1
r=Mark-Simulacrum Move dist-apple-various from x86_64 to aarch64 `macos-13` is going away soonish.
2025-07-23Move `dist-apple-various` from x86_64 to aarch64Jake Goulding-1/+1
`macos-13` is going away soonish.
2025-07-21Update `jobs.yml` docs to reflect subset-modulo-carve-outs relationshipJieyou Xu-6/+19
2025-07-18Rename optional-mingw-check to optional-pr-checkChris Denton-2/+2
2025-07-17ci: use windows 22 for all free runnersMarcoIeni-2/+4
2025-07-15Fix handling of SCRIPT_ARG in docker imagesNikita Popov-4/+2
Instead of making this a build parameter, pass the SCRIPT as an environment variable. To this purpose, normalize on always referring to a script in `/scripts`. For i686-gnu-nopt-2 I had to create a separate script, because Docker seems to be really terrible at command line argument parsing, so it's not possible to pass an environment variable that contains whitespace.
2025-07-10Rollup merge of #140136 - dpaoliello:arm64winci, r=KobzolTrevor Gross-2/+19
Add an aarch64-msvc build running on ARM64 Windows Resurrecting rust-lang/rust#126341 Per <https://github.com/rust-lang/rfcs/pull/3817> we intend to promote `aarch64-pc-windows-msvc` to Tier 1. As part of that work, we are adding a pre-merge CI job to validate that changes do not break this target. Additionally, for consistency, the `dist-aarch64-msvc` job will also be run on Arm64 Windows runners. r? ``@Kobzol`` try-job: `*aarch64-msvc*`
2025-07-03Auto merge of #143294 - ChrisDenton:rename-mingw, r=Kobzolbors-6/+6
Rename `mingw-*` CI jobs to `pr-*` The name `mingw` confuses people because these CI jobs now do much more than just cross-compile to mingw. This is basically a find/replace. I chose the name `pr-` because it's job is to do general PR checks,
2025-07-02Rename mingw-check-tidy to tidyChris Denton-2/+2
2025-07-01Rename mingw-* CI jobs to pr-*Chris Denton-6/+6
2025-07-01ci: support optional jobsMarcoIeni-0/+11
2025-06-19Auto merge of #142245 - marcoieni:split-gnu-tools, r=Kobzolbors-1/+6
ci: split x86_64-gnu-tools job try-job: x86_64-gnu-tools try-job: x86_64-gnu-miri try-job: aarch64-gnu
2025-06-18{aarch64,x86_64}-pc-windows-gnullvm: build host toolsMateusz Mikuła-0/+6
2025-06-16Fix `-nopt` CI jobsJakub Beránek-1/+1
They were using `--config` instead of `--set`, which overrides too much stuff.
2025-06-13DRAFT: Add an aarch64-msvc build running on ARM64 WindowsDaniel Paoliello-2/+19
2025-06-10Use a faster runner for the x64 dist-alt jobJakub Beránek-1/+1
2025-06-10ci: split x86_64-gnu-tools jobMarcoIeni-1/+6
2025-06-09Do not checkout GCC submodule for the tidy jobJakub Beránek-0/+4
2025-06-08Rollup merge of #142210 - Kobzol:tidy-auto-builds, r=Mark-SimulacrumJubilee-0/+4
Run `mingw-check-tidy` on auto builds This has two advantages: - It moves `auto` builds closer to being a superset of PR CI builds - It allows us to reuse the Docker cache for the job in PR CI, thus speeding up the job in PR CI considerably Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/PR.20ci.20seems.20much.20to.20slow). r? ``@Mark-Simulacrum``
2025-06-08Run `mingw-check-tidy` on auto buildsJakub Beránek-0/+4
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-06-08Do not free disk space in the `mingw-check-tidy` jobJakub Beránek-0/+1
It's not needed an it slows down the job considerably. Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-06-05Rollup merge of #141777 - Kobzol:dist-linux-alt-no-pgo-bolt, r=marcoieniMatthias Krüger-9/+17
Do not run PGO/BOLT in x64 Linux alt builds Should unblock https://github.com/rust-lang/rust/pull/131077 and also reduce our CI costs. It seems to run ~1.5h on the x64 larger runner (free runner runs out of disk space, sadly). Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Utility.20of.20the.20.60dist-x86_64-linux-alt.60.20job/with/521324477). r? ``@marcoieni`` try-job: `dist-x86_64-linux*`
2025-06-04Rollup merge of #138699 - psumbera:solaris-ci-build3, r=marcoieniMatthias Krüger-0/+6
build dist for x86_64-pc-solaris and sparcv9-sun-solaris try-job: dist-sparcv9-solaris try-job: dist-x86_64-solaris try-job: dist-various-2 try-job: dist-x86_64-illumos
2025-06-03Rollup merge of #141861 - jieyouxu:windows-server-2025-20250527, r=KobzolMatthias Krüger-8/+2
Switch `x86_64-msvc-{1,2}` back to Windows Server 2025 images New Windows Server 2025 images have been released (**20250527.1.0**). New images appear to not exhibit the lack-of-disk-space problem as tracked by rust-lang/rust#141022, and the new runner image's storage capacity appears to be configured correctly. Windows Server 2025 image version **20250527.1.0** release notes: <https://github.com/actions/runner-images/releases/tag/win25%2F20250527.1>. Resolves rust-lang/rust#141022.
2025-06-03Use 4-core large disk runner for the alt jobJakub Beránek-11/+16
2025-06-02Rollup merge of #141767 - marcoieni:free-pr-job, r=KobzolJakub Beránek-1/+1
ci: use free runner for aarch64-gnu-llvm-19-1 PR job
2025-06-02Auto merge of #119899 - onur-ozkan:redesign-stage0-std, ↵bors-3/+8
r=albertlarsan68,jieyouxu,mark-simulacrum,kobzol,jyn514,Noratrieb,WaffleLapkin,RalfJung,bjorn3 redesign stage 0 std ### Summary **Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/** This PR changes how bootstrap builds the stage 1 compiler by switching to precompiled stage 0 standard library instead of building the in-tree one. The goal was to update bootstrap to use the beta standard library at stage 0 rather than compiling it from source (see the motivation at https://github.com/rust-lang/compiler-team/issues/619). Previously, to build a stage 1 compiler bootstrap followed this path: ``` download stage0 compiler -> build in-tree std -> compile stage1 compiler with in-tree std ``` With this PR, the new path is: ``` download stage0 compiler -> compile stage1 compiler with precompiled stage0 std ``` This also means that `cfg(bootstrap)`/`cfg(not(bootstrap))` is no longer needed for library development. ### Building "library" Since stage0 `std` is no longer in-tree `x build/test/check library --stage 0` is now no-op. The minimum supported stage to build `std` is now 1. For the same reason, default stage values in the library profile is no longer 0. Because building the in-tree library now requires a stage1 compiler, I highly recommend library developers to enable `download-rustc` to speed up compilation time. <hr> **Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/** If you encounter a bug or unexpected results please open a topic in the [#t-infra/bootstrap](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap) Zulip channel or create a [bootstrap issue](https://github.com/rust-lang/rust/issues/new?template=bootstrap.md). (Review thread: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Review.20thread.3A.20stage.200.20redesign.20PR/with/508271433) ~~Blocked on https://github.com/rust-lang/rust/pull/122709~~ try-job: dist-x86_64-linux try-job: `x86_64-msvc*` try-job: `x86_64-apple-*` try-job: `aarch64-apple` try-job: x86_64-gnu try-job: `x86_64-gnu-llvm*`
2025-06-01ci: switch `x86_64-msvc-{1,2}` back to Windows Server 2025 imagesJieyou Xu-8/+2
New Windows Server 2025 images have been released (20250527).
2025-06-01Rollup merge of #141277 - RalfJung:miri-ci, r=oli-obkJacob Pratt-1/+3
Miri CI: test aarch64-apple-darwin in PRs instead of the x86_64 target The aarch64 target is more important, and also this ensures we cover all main architectures (x86_64, i686, aarch64) in PR CI.
2025-05-30Do not run PGO/BOLT in x64 Linux alt buildsJakub Beránek-0/+3
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-05-30split `mingw-check` into twoonur-ozkan-2/+7
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30use stage 1 for std on CIonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30ci: use free runner for aarch64-gnu-llvm-19-1 PR jobMarcoIeni-1/+1
2025-05-30Rollup merge of #141749 - ↵Matthias Krüger-5/+0
Noratrieb:RUSTC_ACTUALLY_DO_NOT_RETRY_LINKER_ON_SEGFAULT, r=petrochenkov Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hack It looks like this was added in rust-lang/rust#40422 6 years ago because of issues with the MacOS linker. MacOS got a new linker in the meantime, so that should probably be resolved now. Hopefully. r? petrochenkov
2025-05-30build dist for x86_64-pc-solaris and sparcv9-sun-solarisPetr Sumbera-0/+6
2025-05-29Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hackNoratrieb-5/+0
It looks like this was added 6 years ago because of issues with the MacOS linker. MacOS got a new linker in the meantime, so that should probably be resolved now. Hopefully.
2025-05-29Rollup merge of #141656 - ehuss:cargo-aarch64-macos, r=marcoieni,jieyouxuJacob Pratt-1/+3
CI: Add cargo tests to aarch64-apple-darwin This adds running of cargo's tests to the aarch64-apple-darwin job. The reason for this is that tier-1 targets are ostensibly supposed to run tests for host tools, but we are not doing that here. We do have fairly good coverage in Cargo's CI, but we don't cover the beta or stable branches here. I think it would be good to have a fallback here. I think this should only add about 7 minutes of CI time, but I have not measured it. The current job is about 1.5 hours. In summary of the tier-1 targets: | Target | rust-lang/cargo | rust-lang/rust | |--------|-----------------|----------------| | aarch64-apple-darwin | stable/nightly | ❌ (this PR) | | aarch64-unknown-linux-gnu | stable/nightly | ✓ | | x86_64-apple-darwin | nightly | ❌ | | x86_64-pc-windows-gnu | nightly | ❌ | | x86_64-pc-windows-msvc | stable | ✓ | | x86_64-unknown-linux-gnu | stable/beta/nightly | ✓ | | i686-pc-windows-msvc | ❌ | ❌ | | i686-unknown-linux-gnu | ❌ | ❌ | try-job: aarch64-apple
2025-05-28Auto merge of #141576 - marcoieni:pr-free-runners-aarch, r=Kobzolbors-1/+11
ci: move tests from x86_64-gnu-llvm-19 job to aarch64
2025-05-28Auto merge of #141501 - marcoieni:dist-x86_64-linux-codebuild-again, r=Kobzolbors-2/+2
ci: move dist-x86_64-linux job to codebuild
2025-05-27CI: Add cargo tests to aarch64-apple-darwinEric Huss-1/+3
This adds running of cargo's tests to the aarch64-apple-darwin job. The reason for this is that tier-1 targets are ostensibly supposed to run tests for host tools, but we are not doing that here. We do have fairly good coverage in Cargo's CI, but we don't have much coverage of beta or stable. I think it would be good to have a fallback here.
2025-05-26ci: move tests from x86_64-gnu-llvm-19 job to aarch64MarcoIeni-1/+11
2025-05-26ci: fix llvm test coverageMarcoIeni-2/+2
2025-05-26ci: move dist-x86_64-linux job to codebuildMarcoIeni-2/+2
2025-05-24ci: move PR job x86_64-gnu-tools to codebuildMarcoIeni-1/+1