about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2025-03-15Print metrics postprocessing to stdoutJakub Beránek-28/+12
This allows the code to be simplified a little bit.
2025-03-15Rollup merge of #138507 - Kobzol:netbsd-mirror, r=Mark-SimulacrumLeón Orell Valerian Liehr-17/+9
Mirror NetBSD sources Should avoid issues with NetBSD servers. r? ``@Mark-Simulacrum`` try-job: `*netbsd*`
2025-03-15Rollup merge of #138454 - Kobzol:post-merge-workflow-fixes, r=jieyouxuLeón Orell Valerian Liehr-77/+138
Improve post-merge workflow Contains various fixes for the post-merge workflow implemented in https://github.com/rust-lang/rust/pull/138013, which were suggested on Zulip. This PR changes the grouping of test diffs and ignores doctests, as they are too noisy. I'll post an example output (before/after this PR) in comments below. r? ```@jieyouxu```
2025-03-15Rollup merge of #138451 - Kobzol:gcc-ci-build-gcc, r=GuillaumeGomezLeón Orell Valerian Liehr-1/+3
Build GCC on CI with GCC, not Clang It seems that GCC built with Clang misbehaves. I have tested that cg_gcc tests [pass](https://github.com/rust-lang/rust/actions/runs/13842365913/job/38732750617?pr=138451) on CI with a downloaded GCC that was built in this way. Prerequisite for https://github.com/rust-lang/rust/pull/138395. r? ```@ghost```
2025-03-14Mirror NetBSD sourcesJakub Beránek-17/+9
2025-03-14Rollup merge of #138487 - Kobzol:fix-doc-url-docker, r=marcoieniLeón Orell Valerian Liehr-0/+1
Pass `CI_JOB_DOC_URL` to Docker Fix-up for https://github.com/rust-lang/rust/pull/136911. I always forget to pass new environment variables to Docker images.. :man_facepalming: r? `@marcoieni` try-job: x86_64-fuchsia
2025-03-14Remove `RUN_CHECK_WITH_PARALLEL_QUERIES`Jakub Beránek-17/+0
It is useless after the removal of the parallel compiler configuration.
2025-03-14Pass `CI_JOB_DOC_URL` to DockerJakub Beránek-0/+1
2025-03-14Add clarification about doctestsJakub Beránek-1/+1
2025-03-14Rollup merge of #138396 - Kobzol:ci-metrics, r=marcoieniJacob Pratt-14/+5
Enable metrics and verbose tests in PR CI When debugging CI, I relatively often need to examine what tests are executed on PR CI, and what bootstrap steps does it execute. However, we currently disable both verbose tests and bootstrap metrics on PR CI for some reason. I'm not actually sure why though, as the PR that (probably) introduced this behavior (https://github.com/rust-lang/rust/pull/51367) didn't explain why. CC `@oli-obk`
2025-03-13Use GCC for building GCCJakub Beránek-1/+3
2025-03-13Output job doc URL to allow Rust Log Analyzer to access itJakub Beránek-0/+4
2025-03-13Fill `doc_url` for Rust for Linux and Fuchsia jobsJakub Beránek-0/+2
2025-03-13Add `doc_url` attribute to CI jobsJakub Beránek-1/+7
2025-03-13Do not print doctest diffs in the reportJakub Beránek-12/+44
When they are moved around in code, their name changes, which produces too noisy diffs.
2025-03-13Group diffs by tests, rather than job groupsJakub Beránek-76/+86
2025-03-13Add cache for downloading job metricsJakub Beránek-0/+17
To make it easier to experiment locally.
2025-03-13Print the compared SHAsJakub Beránek-0/+2
2025-03-13Fix pluralization of testsJakub Beránek-1/+1
2025-03-12Update sccache to 0.10.0Jakub Beránek-5/+7
This time, does it also for Windows and macOS.
2025-03-12Enable metrics and verbose tests in PR CIJakub Beránek-14/+5
2025-03-11Rollup merge of #138307 - Kobzol:citool-alias, r=marcoieniJakub Beránek-232/+343
Allow specifying glob patterns for try jobs This PR modifies the `try-job` lookup logic to allow glob patterns. So you can e.g. request all MSVC-related jobs with `try-job: *msvc*`. Best reviewed commit by commit. r? ``````@marcoieni`````` try-job: `*msvc*`
2025-03-10Ignore job duplicatesJakub Beránek-1/+5
2025-03-10Handle backticks in try job patternsJakub Beránek-2/+9
2025-03-10Allow using glob aliases for custom try jobsJakub Beránek-34/+116
2025-03-10Move job handling to a separate moduleJakub Beránek-230/+242
2025-03-10Make all keys explicit in citoolJakub Beránek-6/+12
Just to avoid surprises, the amount of used keys is not large.
2025-03-10Handle empty test suites in job summary reportJakub Beránek-3/+7
2025-03-07Rollup merge of #138013 - Kobzol:ci-post-merge-analysis, r=marcoieniJacob Pratt-9/+282
Add post-merge analysis CI workflow This PR adds a post-merge analysis workflow, which was discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Reporting.20test.20suite.20statistics.20after.20merge). The workflow currently analyzes test suite results from bootstrap metrics. It downloads metrics for all known jobs in the parent and current (HEAD) commit, compares them and prints a truncated diff. It then posts this diff to the merged PR as a comment. Later I also want to add other statistics to the analysis, e.g. changes in CI/bootstrap step durations. It can be tested locally e.g. using this: ``` cargo run --release --manifest-path src/ci/citool/Cargo.toml post-merge-report 3cb02729ab3c6583a3b1d1845c5e22b674f04b8d fd17deacce374a4185c882795be162e17b557050 ``` This uses a slightly older commit as a parent, to have more results in the diff (normally the diff won't be so large). CC `@jieyouxu` r? `@marcoieni`
2025-03-07Rollup merge of #137957 - Noratrieb:no, r=wesleywiserJacob Pratt-1/+1
Remove i586-pc-windows-msvc See [MCP 840](https://github.com/rust-lang/compiler-team/issues/840). I left a specialized error message that should help users that hit this in the wild (for example, because they use it in their CI). ``` error: Error loading target specification: the `i586-pc-windows-msvc` target has been removed. Use the `i686-pc-windows-msvc` target instead. Windows 10 (the minimum required OS version) requires a CPU baseline of at least i686 so you can safely switch. Run `rustc --print target-list` for a list of built-in targets ``` ``@workingjubilee`` ``@calebzulawski`` fyi portable-simd uses this target in CI, if you wanna remove it already before this happens
2025-03-07Add post-merge analysis CI workflowJakub Beránek-9/+282
2025-03-07Auto merge of #138127 - compiler-errors:rollup-kcarqrz, r=compiler-errorsbors-2/+6
Rollup of 17 pull requests Successful merges: - #137827 (Add timestamp to unstable feature usage metrics) - #138041 (bootstrap and compiletest: Use `size_of_val` from the prelude instead of imported) - #138046 (trim channel value in `get_closest_merge_commit`) - #138053 (Increase the max. custom try jobs requested to `20`) - #138061 (triagebot: add a `compiler_leads` ad-hoc group) - #138064 (Remove - from xtensa targets cpu names) - #138075 (Use final path segment for diagnostic) - #138078 (Reduce the noise of bootstrap changelog warnings in --dry-run mode) - #138081 (Move `yield` expressions behind their own feature gate) - #138090 (`librustdoc`: flatten nested ifs) - #138092 (Re-add `DynSend` and `DynSync` impls for `TyCtxt`) - #138094 (a small borrowck cleanup) - #138098 (Stabilize feature `const_copy_from_slice`) - #138103 (Git ignore citool's target directory) - #138105 (Fix broken link to Miri intrinsics in documentation) - #138108 (Mention me (WaffleLapkin) when changes to `rustc_codegen_ssa` occur) - #138117 ([llvm/PassWrapper] use `size_t` when building arg strings) r? `@ghost` `@rustbot` modify labels: rollup
2025-03-06Rollup merge of #138053 - Kobzol:more-try-jobs, r=marcoieniMichael Goulet-2/+6
Increase the max. custom try jobs requested to `20` Requested [here](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Increase.20try-job.20limit). r? ````@marcoieni````
2025-03-06Rollup merge of #137798 - marcoieni:ubuntu-24-large-runner-arm, r=KobzolMichael Goulet-1/+1
ci: use ubuntu 24 on arm large runner try-job: dist-aarch64-linux
2025-03-06remove zip file in /tmp to save some space and use large runnerLuuuXXX-1/+2
2025-03-05disable link libstdc++ staticallyLuuuXXX-1/+5
2025-03-05Increase the max. custom try jobs requested to `20`Jakub Beránek-2/+6
2025-03-05Apply review remarksJakub Beránek-2/+3
2025-03-05Remove Python metric upload script and package.jsonJakub Beránek-5095/+0
2025-03-05Upload Datadog average CPU usage metric in citoolJakub Beránek-15/+785
2025-03-05Make citool compilation fasterJakub Beránek-0/+4
2025-03-04Rollup merge of #137947 - Kobzol:fix-rfl, r=marcoieniJubilee-13/+10
Do not install rustup on Rust for Linux job Trying to fix the RfL job after the recent rustup update. r? ``@ghost`` try-job: x86_64-rust-for-linux
2025-03-04Rollup merge of #137667 - Kobzol:gcc-dist-build, r=onur-ozkanJubilee-1/+1
Add `dist::Gcc` build step This PR adds a `dist:Gcc` bootstrap step to distribute a prebuilt `libgccjit.so` from CI on x64 Linux. With primed sccache, the build takes ~4 minutes on CI, and produces a 50 MiB archive. I want to land this before adding something akin to `[gcc] download-ci-gcc = true`, to already have the artifacts available on CI, to make it easier to setup the download merge-base logic. r? ``@ghost``
2025-03-04Record bootstrap step durations into GitHub summary in citoolJakub Beránek-2/+28
2025-03-04Postprocess test suite metrics into GitHub summaryJakub Beránek-0/+164
2025-03-04add support for extend rust tools and sanitizerLuuuXXX-1/+4
2025-03-04Revert "add fix for full tools and sanitizer"LuuuXXX-4/+1
This reverts commit 6efacfb7a59ebde2620398861713fae136060a04.
2025-03-04add fix for full tools and sanitizerLuuuXXX-1/+4
2025-03-04promote ohos targets to tier to with host toolsLuuuXXX-4/+22
2025-03-04ci: use ubuntu 24 on arm large runnerMarcoIeni-1/+1