Commit Graph

208 Commits

Author SHA1 Message Date
Jieyou Xu cce9479abd Wait for DPkg frontend lock when trying to remove packages 2025-08-25 21:09:28 +08:00
MarcoIeni e073f905fb ci: don't cleanup windows disk 2025-08-21 10:56:48 +02:00
MarcoIeni 4f7248207c ci: add timeout to windows disk cleanup wait 2025-08-18 10:47:22 +02:00
MarcoIeni 75b7d24a98 ci: clean windows disk space in background 2025-08-14 12:38:35 +02: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
Daniel Paoliello 295378729b DRAFT: Add an aarch64-msvc build running on ARM64 Windows 2025-06-13 15:27:35 -07:00
Jakub Beránek cb9980133c Do not checkout GCC submodule for the tidy job 2025-06-09 08:17:56 +02:00
Jakub Beránek ec9e560a30 Fix create-docs-artifacts.sh with new bors 2025-06-02 15:08:39 +02:00
bors bc82152863 Auto merge of #140757 - dpaoliello:llvm20, r=Kobzol
[win][ci] Update LLVM toolchain used to build LLVM to 20

While trying to get the aarch64-msvc build working correctly (#140136), I needed to update the version of LLVM used to build LLVM in Windows CI runners to 20 (as this has improved support for Arm64 and Arm64EC on Windows).

This catches Windows up to Linux which was updated to 20 by #137189

try-job: `x86_64-apple-*`
try-job: `aarch64-apple`
try-job: `x86_64-msvc-*`
try-job: `i686-msvc-*`
try-job: `x86_64-mingw-*`
2025-05-20 19:29:34 +00:00
Daniel Paoliello e71deaa88a [win][CI] Convert paths to Windows format before adding to PATH 2025-05-15 09:49:37 -07:00
Daniel Paoliello 036b5fcb02 [win] Update LLVM toolchain used to build LLVM to 20 2025-05-07 11:05:27 -07:00
MarcoIeni 474466dc16 ci: clean more disk space in codebuild 2025-04-27 11:03:53 +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 36719a90f7 Update sccache to 0.10.0
This time, does it also for Windows and macOS.
2025-03-12 16:11:24 +01:00
Jakub Beránek 6166f3d212 Remove Python metric upload script and package.json 2025-03-05 12:13:29 +01:00
Matthias Krüger 40379e299c Rollup merge of #136815 - ChrisDenton:fix-mingw-ci, r=Kobzol
CI: Stop /msys64/bin from being prepended to PATH in msys2 shell

We used to do this along time ago but we stopped doing it when we started installing msys2 manually. https://github.com/rust-lang/rust/blob/4fd3cf96a1db7771ef4f332b9eb1ad17fa0fd091/src/ci/scripts/install-msys2.sh#L11-L13

Fixes #136795

try-job: dist-i686-mingw
2025-02-19 21:16:11 +01:00
Matthias Krüger 6a7bff2915 Rollup merge of #137070 - Kobzol:ci-summary-invalid-link, r=marcoieni
Do not generate invalid links in job summaries

Avoid [this](https://github.com/rust-lang-ci/rust/actions/runs/13341911341#summary-37267605606). It has bugged me for quite some time :) When a directory is empty, the `*.xz` bash glob "expands" to a file called `*.xz`.

r? `@marcoieni`
2025-02-15 20:15:01 +01:00
Jakub Beránek e3412617df Do not generate invalid links in job summaries 2025-02-15 11:45:41 +01:00
Chris Denton cb9cb1de29 Don't error if stopping mysql fails in CI 2025-02-14 21:22:02 +00:00
MarcoIeni 7f38958e50 ci: remove more unused files and directories in free runners 2025-02-11 17:47:32 +01:00
Chris Denton 5573cd320c Prevent /msys64/bin from being prepended to PATH 2025-02-10 15:03:44 +00:00
MarcoIeni 4677d753f9 ci: stop mysql before removing it 2025-02-03 16:06:54 +01:00
MarcoIeni 053fa1c933 ci: refactor how directories are removed in free-disk-space disk 2025-01-30 15:06:23 +01: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 787c2a2c6a Reformat Python file 2024-12-31 13:14:04 +01:00
Horu 4c279fb7af chore: fix typos 2024-12-30 14:56:21 +07: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
Jakub Beránek 536516f949 Reformat Python code with ruff 2024-12-04 23:03:44 +01: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
Jubilee Young a2a4ea0850 Partially revert "ci: Use mv instead of cp in upload step"
This partially reverts commit fe7c97c2e7.

I kept a mv, not a cp, for the one that shuffles major artifacts around,
because the size of those artifacts are big enough to matter, sometimes.
I don't think the diagnostic info will be that heavy, by comparison.
2024-09-27 12:02:02 -07:00
Jubilee Young 282d04489a Revert "ci: Try to remove unused Xcode dirs"
This reverts commit 06f49f6d53.
2024-09-27 11:45:59 -07:00
Jakub Beránek c1c0bd7a25 Upload average CPU consumption of CI jobs to DataDog 2024-09-27 11:39:52 +02:00
Mateusz Mikuła 4ee58db2f1 Upgrade CI's mingw-w64 toolchain 2024-09-01 12:37:26 +02:00
Jubilee Young 8da1c0049a ci: Take tail instead of head to avoid broken pipes 2024-08-30 20:51:52 -07:00
Jubilee Young 6cb4768ddd ci: Avoid legacy backticks in upload-artifacts.sh 2024-08-30 20:51:52 -07:00
Jubilee Young fe7c97c2e7 ci: Use mv instead of cp in upload step 2024-08-30 20:51:52 -07:00
Jubilee Young 06f49f6d53 ci: Try to remove unused Xcode dirs 2024-08-30 20:51:52 -07:00
onur-ozkan 48192701e0 use "bootstrap" instead of "rustbuild" in comments and docs
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-07 00:07:08 +03:00
Matthias Krüger 86f6fae93d Rollup merge of #125590 - ChrisDenton:mingw-ci-3, r=Kobzol
Add a "Setup Python" action for github-hosted runners and remove unnecessary `CUSTOM_MINGW` environment variable

The Setup Python action isn't strictly necessary ([even on Windows](https://github.com/rust-lang/rust/pull/125584)) but it is [recommend by GitHub](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#specifying-a-python-version).

The `CUSTOM_MINGW` environment variable is redundant now as it's always set for mingw and always unset otherwise.

try-job: x86_64-mingw
try-job: x86_64-mingw
try-job: dist-x86_64-msvc
try-job: dist-x86_64-mingw
2024-05-28 18:04:32 +02:00
Chris Denton 7a847fc4fb Use grep to implement verify-line-endings 2024-05-27 17:19:58 +00:00
Chris Denton f931290949 Update description of install-mingw 2024-05-27 09:32:25 +00:00
Chris Denton f63931bc1a Cleanup custom mingw in CI 2024-05-26 22:43:40 +00:00
Chris Denton 941aa47433 Do less reinstalling in mingw CI 2024-05-26 10:52:31 +00:00