406 Commits

Author SHA1 Message Date
MarcoIeni
e073f905fb
ci: don't cleanup windows disk 2025-08-21 10:56:48 +02:00
Jakub Beránek
b474f89d5e
Rollup merge of #145311 - marcoieni:clean-disk-in-background-windows, r=Kobzol
ci: clean windows disk space in background
2025-08-15 16:03:56 +02:00
MarcoIeni
75b7d24a98
ci: clean windows disk space in background 2025-08-14 12:38:35 +02:00
Rej Ect
0d723234b3
chore(ci): upgrade checkout to v5
chore(ci): upgrade checkout to v5
2025-08-12 15:26:29 +03:00
binarycat
a59842e4d5 improve "Documentation problem" issue template.
rustdoc has its own issue template now, mention that.

swap the order of the last two sentances so it reads more like
a typical if/else chain (base case listed last).

adjust some labels and descriptions
2025-08-09 12:27:19 -05:00
Samuel Tardieu
1d5baad62b
Rollup merge of #144053 - Kobzol:ci-remove-install-rust, r=marcoieni
Remove install Rust script from CI

Windows ARM images should contain Rust now (https://github.com/actions/partner-runner-images/issues/77#issuecomment-3082613685).

CC dpaoliello

try-job: `*aarch64-msvc*`
2025-07-31 13:12:46 +02:00
bors
72716b134a Auto merge of #144305 - ChrisDenton:win-free-disk-space, r=marcoieni
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-30 06:00:09 +00:00
Chris Denton
43018d3722
Free disk space on Windows 2025 runners 2025-07-30 04:10:28 +00:00
Jieyou Xu
fc4bf03a81
Remove spellcheck workflow
Unfortunately, the separate spellcheck GHA workflow does not really work
with homu, if we would like to enforce the invariant that PR CI is a
subset of Full CI (modulo carve outs).

This is not prejudice against a reland of a `typos`-based spellcheck, it
just probably has to go through the "usual" CI flow with bootstrap, so
that it can work with homu.
2025-07-21 18:06:07 +08:00
Chris Denton
db1449aed5
Initialize mingw for the runner's user 2025-07-19 22:05:47 +00:00
Jakub Beránek
b7d27822e3
Remove install Rust script from CI
Windows ARM images should contain Rust now.
2025-07-17 09:15:17 +02:00
Chris Denton
262d02e6fd
Ensure home directory exists
This works around a missing mingw home directory in CI
2025-07-16 03:15:06 +00:00
Trevor Gross
6debe03634
Rollup merge of #140136 - dpaoliello:arm64winci, r=Kobzol
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-10 20:20:37 -04:00
Eric Huss
2cb24783f5 Fix missing words in future tracking issue
Fixes some sloppy editing on my part.
2025-07-07 08:40:04 -07:00
Matthias Krüger
e2e72cd026
Rollup merge of #143386 - clubby789:dep-bump-me, r=compiler-errors
Assign dependency bump PRs to me

These PRs sometimes get lost as GH reduces their visibility, so I wanted to get an assignment so I can help these PRs land
2025-07-05 00:12:10 +02:00
clubby789
b33dc21d78 Assign dependency bump PRs to me 2025-07-04 07:35:39 +00:00
Jana Dönszelmann
f6d37a25a9
Rollup merge of #134006 - klensy:typos, r=nnethercote
setup typos check in CI

This allows to check typos in CI, currently for compiler only (to reduce commit size with fixes). With current setup, exclude list is quite short, so it worth trying?

Also includes commits with actual typo fixes.

MCP: https://github.com/rust-lang/compiler-team/issues/817

typos check currently turned for:
* ./compiler
* ./library
* ./src/bootstrap
* ./src/librustdoc

After merging, PRs which enables checks for other crates (tools) can be implemented too.

Found typos will **not break** other jobs immediately: (tests, building compiler for perf run). Job will be marked as red on completion in ~ 20 secs, so you will not forget to fix it whenever you want, before merging pr.

Check typos: `python x.py test tidy --extra-checks=spellcheck`
Apply typo fixes: `python x.py test tidy --extra-checks=spellcheck:fix` (in case if there only 1 suggestion of each typo)

Current fail in this pr is expected and shows how typo errors emitted. Commit with error will be removed after r+.
2025-07-03 13:29:35 +02:00
klensy
c76d032f01 setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
Chris Denton
6671d9b92a
Rename mingw-check-tidy to tidy 2025-07-02 08:48:20 +00:00
Chris Denton
62949cd2d6
Rename mingw-* CI jobs to pr-* 2025-07-01 20:25:56 +00:00
Jakub Beránek
796027225a
Remove workflow run on master 2025-06-26 08:18:19 +02:00
Jakub Beránek
ec6f0eab5d
Remove cache for citool 2025-06-26 08:12:21 +02:00
binarycat
dfaa6220e2 add issue template for rustdoc 2025-06-19 16:24:13 -05:00
Daniel Paoliello
295378729b DRAFT: Add an aarch64-msvc build running on ARM64 Windows 2025-06-13 15:27:35 -07:00
Jakub Beránek
cb3d074f6a
Only run citool tests on the auto branch 2025-06-10 08:00:13 +02:00
Jakub Beránek
54ed1b966f
Run calculate_matrix job on the master branch
This allows us to reuse its cache on PR CI jobs.
2025-06-09 08:14:38 +02:00
MarcoIeni
5b68db11fc
ci: use arm to calculate job matrix 2025-05-30 15:11:30 +02:00
Jakub Beránek
059bc382aa
Provide secrets to try builds with new bors 2025-05-29 09:49:59 +02:00
Jakub Beránek
7fae5efa4d
Fix CI for unrolled builds on the try-perf branch
That branch is essentially the same as the `try` branch, it also needs S3 permissions.

Long term, we should move rollup unrolling from rustc-perf to bors, so that we can have only a single try branch.
2025-05-27 08:44:51 +02:00
MarcoIeni
806cd12f56
ci: prepare aws access keys for migration 2025-05-22 12:48:12 +02:00
Jakub Beránek
78d3ea14f7
Add bors environment to CI
This will be used to access secrets once we move off rust-lang-ci.
2025-05-21 13:10:13 +02:00
Eric Huss
f6aeef3d9b Add an issue template for future-incompatible lints 2025-05-11 06:55:36 -07:00
Jakub Beránek
a84a946a3d
Handle PR not found in post-merge workflow 2025-05-06 18:35:05 +02:00
Matthias Krüger
7ba71d38d8
Rollup merge of #140148 - marcoieni:ci-aws-codebuild, r=Kobzol
CI: use aws codebuild for job dist-arm-linux

try-job: dist-arm-linux
2025-04-25 00:53:58 +02:00
MarcoIeni
18c3370e5d
CI: use aws codebuild for job dist-arm-linux 2025-04-23 13:31:24 +02:00
Jakub Beránek
64795ecb87 Remove setup-upstream-remote.sh and upstream handling.
It shouldn't be needed anymore.
2025-04-20 09:13:56 +02:00
Jakub Beránek
c49b0bdb1a
Use rust-cache to speed-up citool compilation 2025-04-15 10:04:25 +02:00
Josh Triplett
7103aea39a Tracking issue template: fine-grained information on style update status
Inspired by some of the communication issues around the stabilization of
`let`-chains, give more fine-grained information about the status of
updating style for any new syntax.

This does not change the process or blockers in any way; it only
*documents* the current state in the tracking issue. For instance, in
the case of `let`-chains, we would have checked the boxes for "Style
team decision" and "(non-blocking) Formatting has been implemented", and
not checked the box for the style guide. That would have then provided
better supporting information for any decisions.
2025-04-09 12:59:37 -07:00
Matthias Krüger
f2fd24df00
Rollup merge of #139547 - joshtriplett:library-tracking-issue-template, r=Amanieu
Update library tracking issue template to set S-tracking-unimplemented

This will help people notice the `S-tracking-*` labels, and if the
tracking issue *is* implemented, they can change the label.

Discussed in a `@rust-lang/libs-api` meeting.

r? `@Amanieu`
2025-04-08 21:26:03 +02:00
Josh Triplett
fe079c4e57 Update library tracking issue template to set S-tracking-unimplemented
This will help people notice the `S-tracking-*` labels, and if the
tracking issue *is* implemented, they can change the label.
2025-04-08 08:10:41 -07:00
Jakub Beránek
27cca0a161 Add CI metadata to bootstrap metrics
This will allow us to provide links to CI workflows, jobs and summaries in the post-merge analysis report.
2025-03-27 17:03:08 +01:00
Matthias Krüger
cc06501b4b
Rollup merge of #138658 - marcoieni:mirror-alpine-and-centos, r=Kobzol
CI: mirror alpine and centos images to ghcr
2025-03-19 08:17:16 +01:00
MarcoIeni
d76e89f363
CI: mirror alpine and centos images to ghcr 2025-03-18 11:35:16 +01:00
Jakub Beránek
9dac4797be
Remove double nesting in post-merge workflow 2025-03-18 10:24:25 +01:00
Matthias Krüger
5786233b81
Rollup merge of #138531 - Kobzol:test-diff-try-build, r=marcoieni
Store test diffs in job summaries and improve analysis formatting

This PR stores the test diffs that we already have in the post-merge workflow also into individual job summaries. This makes it easier to compare test (and later also other) diffs per job, which will be especially useful for try jobs, so that we can actually see the test diffs *before* we merge a given PR.

As a drive-by, I also made a bunch of cleanups in `citool` and in the formatting of the summary and post-merge analyses. These changes are split into self-contained commits.

The analysis can be tested locally with the following command:
```bash
$ curl https://ci-artifacts.rust-lang.org/rustc-builds/<current-sha>/metrics-<job-name>.json > metrics.json
$ cargo run --manifest-path src/ci/citool/Cargo.toml postprocess-metrics metrics.json --job-name <job-name> --parent <parent-sha> > out.md
```
For example, for [this PR](https://github.com/rust-lang/rust/pull/138523):
```bash
$ curl https://ci-artifacts.rust-lang.org/rustc-builds/282865097d138c7f0f7a7566db5b761312dd145c/metrics-aarch64-gnu.json > metrics.json
$ cargo run --manifest-path src/ci/citool/Cargo.toml postprocess-metrics metrics.json --job-name aarch64-gnu --parent d9e5539a39192028a7b15ae596a8685017faecee > out.md
```

Best reviewed commit by commit.

r? `@marcoieni`

try-job: aarch64-gnu
try-job: dist-x86_64-linux
2025-03-17 22:49:05 +01:00
Jakub Beránek
c9d314773e Small review improvements 2025-03-17 21:48:39 +01:00
bit-aloo
1954494ec9
change config.toml to bootstrap.toml for bootstrap module 2025-03-17 12:56:41 +05:30
Jakub Beránek
30d57576b9 Print test diffs into GitHub summary
So that we can also observe them for try builds, before merging a PR.
2025-03-15 11:16:11 +01:00
Jakub Beránek
09d44a48b2 Print metrics postprocessing to stdout
This allows the code to be simplified a little bit.
2025-03-15 09:24:43 +01:00
Jakub Beránek
301c384262 Do not fail the build if metrics postprocessing or DataDog upload fails 2025-03-15 09:24:42 +01:00