Commit graph

305 commits

Author SHA1 Message Date
dianqk
4c6caaa3a6
Always print disk usage 2025-10-10 20:02:50 +08:00
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
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
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
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
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
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
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
Jakub Beránek
c9d314773e Small review improvements 2025-03-17 21:48:39 +01:00
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
Jakub Beránek
899eed15ad Refactor metrics generation step 2025-03-15 09:24:42 +01:00
Jakub Beránek
0c6d24e373
Print job doc URL on job failure 2025-03-13 14:56:57 +01:00
Jakub Beránek
611764417b
Output job doc URL to allow Rust Log Analyzer to access it 2025-03-13 14:48:18 +01:00
Jakub Beránek
6130b3da18
Upload Datadog average CPU usage metric in citool 2025-03-05 12:13:29 +01:00
Jakub Beránek
26e42de17c
Make citool compilation faster 2025-03-05 12:11:15 +01:00
Jakub Beránek
6463590f0c Postprocess test suite metrics into GitHub summary 2025-03-04 12:30:41 +01:00
Matthias Krüger
0b66424068
Rollup merge of #137849 - jieyouxu:undo-workaround, r=Kobzol
Revert "Remove Win SDK 10.0.26100.0 from CI"

Part of #137733.
Resolves #137733.

The remove-latest-windows-sdk workaround workaround should no longer be necessary, now that we bumped (1) cargo `cc` and (2) `rustc_{codegen_ssa,llvm}` `cc`.

This reverts commit 25617c7e69, the remove-latest-windows-sdk workaround from #137753.

try-job: i686-msvc-1
try-job: i686-msvc-2
try-job: dist-i686-msvc
2025-03-03 10:41:01 +01:00
bors
4b696e6bf7 Auto merge of #136864 - Kobzol:citool, r=marcoieni
Rewrite the `ci.py` script in Rust

It would seem that I would learn by now that any script written in Python will become unmaintainable sooner or later, but alas..

r? `@marcoieni`

try-job: aarch64-gnu
try-job: dist-x86_64-linux-alt
try-job: x86_64-msvc-ext2

Fixes: https://github.com/rust-lang/rust/issues/137013
2025-03-02 09:18:02 +00:00
许杰友 Jieyou Xu (Joe)
32de3b95a6 Revert "Remove Win SDK 10.0.26100.0 from CI"
This reverts commit 25617c7e69.
2025-03-01 19:01:12 +08:00
Chris Denton
25617c7e69
Remove Win SDK 10.0.26100.0 from CI 2025-02-28 09:13:00 +00:00
bors
eeb9035117 Auto merge of #137023 - Kobzol:bump-sccache, r=marcoieni
Bump sccache in CI to 0.9.1

We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (https://github.com/rust-lang/rust/pull/136942 - although now there are no large wins).

It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference.

https://github.com/rust-lang/rust/pull/133076 previously tried to update the version to 0.3 (CC `@klensy)`

r? `@marcoieni`
2025-02-20 05:59:04 +00:00
Jakub Beránek
ae6d93ce13
Test citool on CI 2025-02-17 12:30:02 +01:00
Jakub Beránek
7f154fa4d1
Update documentation 2025-02-17 12:27:44 +01:00
Jakub Beránek
87c49f025f
Use citool in CI 2025-02-17 12:27:44 +01:00
Jakub Beránek
5789fc0db1 Add sccache S3 region 2025-02-14 12:30:07 +01:00
Chris Denton
ec8ec41d9e
Print the environment a second time 2025-02-10 15:06:41 +00:00
Chris Denton
c94ab207fe
Don't install msys2
windows-msvc doesn't need it and windows-gnu has its own version
2025-02-05 14:22:54 +00:00
MarcoIeni
9b70b8bbbf
CI: free disk with in-tree script instead of GitHub Action
Co-authored-by: whiteio <chriswhiteiodev@gmail.com>
2025-01-21 16:19:11 +01:00
Jakub Beránek
c8b29d6f6f
CI: fix name of jobs
There is a difference between the `image` (the Dockerfile), the `name` of the job (which determines also its properties) and the `full_name`, which includes the `auto/try/pr` prefix.
2025-01-09 21:40:29 +01:00