Commit Graph

295 Commits

Author SHA1 Message Date
许杰友 Jieyou Xu (Joe) c00a5c0889 Fix post-merge workflow
The command is called `post-merge-report` not `post-merge-analysis`.
2025-03-11 12:06:38 +08:00
Jakub Beránek ff674232d1 Fix checkout in post-merge workflow 2025-03-08 12:46:33 +01:00
Jakub Beránek 871be8f54a Add missing GH_TOKEN environment variable
It is needed for using the `gh` CLI commands.
2025-03-08 12:46:24 +01:00
Jakub Beránek d5da6b71fa Add post-merge analysis CI workflow 2025-03-07 09:43:52 +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
bors 0493557083 Auto merge of #135682 - matthiaskrgr:rollup-cl7zlt1, r=matthiaskrgr
Rollup of 7 pull requests

Successful merges:

 - #133700 (const-eval: detect more pointers as definitely not-null)
 - #135290 (Encode constraints that hold at all points as logical edges in location-sensitive polonius)
 - #135478 (Run clippy for rustc_codegen_gcc on CI)
 - #135583 (Move `std::pipe::*` into `std::io`)
 - #135612 (Include x scripts in tarballs)
 - #135624 (ci: mirror buildkit image to ghcr)
 - #135661 (Stabilize `float_next_up_down`)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-01-18 18:40:20 +00:00
MarcoIeni 5f495153f0 ci: mirror buildkit image to ghcr 2025-01-17 12:59:48 +01:00
MarcoIeni 5d07ee860f ci: improve github action name 2025-01-17 11:41:40 +01:00
MarcoIeni f5fe0a0293 ci: mirror ubuntu:22.04 to ghcr.io 2025-01-16 11:21:41 +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
Jakub Beránek 0cc11f8c48 Add a command to run a given Linux CI job locally 2025-01-07 18:15:13 +01:00
Jakub Beránek 8ecd033654 Rename CI script from calculate-job-matrix to ci.py 2025-01-07 18:15:13 +01:00
MarcoIeni b731c36faa ci: use ubuntu 24 instead of latest 2024-12-19 16:02:05 +01:00
Jakub Beránek 6e22b84296 [CI] Use a lockfile for installing the datadog package
Without a lockfile, it could fail to compile when the dependencies have changed.
2024-12-16 12:35:09 +01:00
Michael Goulet 24e7196f92 Rollup merge of #132605 - Kobzol:ci-increase-timeout, r=Mark-Simulacrum
CI: increase timeout from 4h to 6h

Our CI got a bit slower since the last time we [lowered](https://github.com/rust-lang/rust/pull/127648) the timeout, and if e.g. Docker build cache is broken, the timeout can be triggered.

Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/ci.20job.20timings.20stats).
2024-11-26 20:35:37 -05:00
MarcoIeni 02b34154fd CI: switch 7 linux jobs to free runners 2024-11-05 16:56:41 +01:00
Jakub Beránek b910e977a3 CI: increase timeout from 4h to 6h
Our CI got a bit slower since the last time we lowered the timeout, and if e.g. Docker build cache is broken, the timeout can be triggered.
2024-11-04 18:55:21 +01:00
Jakub Beránek 91c4d09aed Print how much disk space is left after CI build runs 2024-10-13 21:58:24 +02:00
Jakub Beránek 71cc27058d Free up disk space on CI Linux runners 2024-10-13 21:58:24 +02:00
onur-ozkan 4454fa998c add new CI step: "setup upstream remote"
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-10-12 08:58:39 +03:00
bors 44722bd9ba Auto merge of #125771 - Kobzol:ci-datadog-metrics, r=jdno
[CI] Upload average CPU utilization of CI jobs to DataDog

This PR adds a new CI step that uploads the average CPU utilization of the current GH job to Datadog. I want to add more metrics in follow-up PRs.

r? `@jdno`

try-job: dist-i686-msvc
try-job: aarch64-apple
try-job: x86_64-gnu-llvm-18
2024-10-02 13:56:55 +00:00
klensy 33f637c577 add title to compiler update 2024-09-29 11:36:00 +03:00
Jakub Beránek c1c0bd7a25 Upload average CPU consumption of CI jobs to DataDog 2024-09-27 11:39:52 +02:00
Trevor Gross 35752cf058 Update library/Cargo.toml in weekly job
Before the workspace split, the library was covered by the weekly `cargo
update` cron job. Now that the library has its own workspace, it doesn't
get these updates.

Add `library/Cargo.toml` to the job so updates happen again.
2024-08-19 07:30:11 -05:00
Eric Huss 4a2d0d9233 Fix dependencies cron job 2024-08-14 09:57:14 -07:00
Eric Huss 5dfa062b87 Move rustbook to its own workspace. 2024-07-22 07:20:57 -07:00
Jakub Beránek 3f4b9dd463 Lower timeout of CI jobs to 4 hours
The previous value, 10 hours, is unnecessarily long, since most of our jobs finish within 2.5 hours currently.
2024-07-12 11:27:46 +02:00
Chris Denton 48d3425364 Remove some msys2 utils 2024-06-12 17:33:52 +00:00
Jakub Beránek 9ce12c4cab CI: remove Setup Python action 2024-06-07 11:26:36 +02:00
Jakub Beránek 2fe41c68d3 Fix publishing of toolstate history 2024-06-05 16:41:59 +02:00
Chris Denton 19cfe8d9e6 Add "Setup Python" action to github-hosted runners 2024-05-26 22:43:52 +00:00
Chris Denton f63931bc1a Cleanup custom mingw in CI 2024-05-26 22:43:40 +00:00
Jakub Beránek 7b6a3d029b CI: fix toolstate publishing 2024-05-15 15:48:52 +02:00
bors 645bc609d9 Auto merge of #124883 - onur-ozkan:change-stage0-file, r=Mark-Simulacrum
use key-value format in stage0 file

Currently, we are working on the python removal task on bootstrap. Which means we have to extract some data from the stage0 file using shell scripts. However, parsing values from the stage0.json file is painful because shell scripts don't have a built-in way to parse json files.

This change simplifies the stage0 file format to key-value pairs, which makes it easily readable from any environment.

See the zulip thread for more details: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Using.20different.20format.20in.20the.20stage0.20file
2024-05-12 06:26:20 +00:00
onur-ozkan efb153eb5a awk stage0 file on CI
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-05-09 16:49:51 +03:00
Jakub Beránek b3e9060178 CI: fix auto builds and make sure that we always have at least a single CI job 2024-05-05 14:06:23 +02:00