Jacob Pratt
5eb535a51e
Rollup merge of #148146 - the8472:ci-use-extra-disk, r=marcoieni
...
CI: use alternative disks if available
*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/148146 )*
cleaning up disk space takes a lot of time, sometimes [30 minutes](https://github.com/rust-lang/rust/actions/runs/18817052904/job/53686898697 )
2026-02-25 21:42:52 -05:00
Mads Marquart
3882573751
Always use default Clang on macOS
...
Instead of manually setting up CC/CXX environment variables, use the
default configuration that Xcode gives us.
2026-02-05 23:58:49 +01:00
Mads Marquart
19a7bd9a97
Remove AR=ar env var
...
Bootstrap no longer infers the archiver as `clang-ar`, so we don't need
to set this explicitly.
2026-02-05 23:55:59 +01:00
Mads Marquart
0bbc2f2008
Remove USE_XCODE_CLANG
...
Instead, always use the Xcode-provided Clang to build LLVM.
2026-02-05 23:55:56 +01:00
Mads Marquart
19e4108ed1
Use DEVELOPER_DIR instead of a custom xcode-select script
...
`DEVELOPER_DIR` is the standard environment variable for overriding the
Xcode version, there is no need to invoke `xcode-select --switch`
manually to do this.
The variable is documented in both `man xcode-select` and `man xcrun`.
2026-02-03 20:14:52 +01:00
Jakub Beránek
9c4ead6814
Remove legacy homu try and auto branch mentions
2026-01-07 16:44:51 +01:00
Jakub Beránek
6f7313e8ad
Make verify-channel.sh script compatible with new bors
2026-01-07 13:06:27 +01:00
The 8472
dcbcedfec0
AWS runners have enough disk, no need for cleanup or mount shenanigans
2025-12-26 17:25:52 +01:00
The 8472
dd2d7c01fd
print a warning and fallback instead of failing ci
...
we assume the disks are ext4, but GH doesn't guarantee that.
2025-12-26 17:02:31 +01:00
the8472
1787491550
[review] add more comments
...
Co-authored-by: Marco Ieni <11428655+marcoieni@users.noreply.github.com >
2025-12-26 17:02:31 +01:00
The 8472
189b301fec
CI: use alternative disks if available
...
cleaning up disk space takes a lot of time
2025-12-26 17:02:31 +01:00
Mark Rousskov
bdc8894004
Write file with channel to S3
...
This will let rustup-toolchain-install-master gain support for
installing stable artifacts, which is currently only possible when
explicitly overriding the channel. That in turn will unblock letting
Crater kick off a beta run as soon as both a new beta and a new stable
artifact are ready, rather than waiting until the actual release.
2025-12-21 20:14:49 -05:00
Matthias Krüger
f610f0568a
Rollup merge of #149605 - Kobzol:unshalllow-beta, r=cuviper
...
Use branch name instead of HEAD when unshallowing
Fixes a regression with the beta channel that was discovered in https://github.com/rust-lang/rust/pull/149572 .
r? `@cuviper`
2025-12-04 16:07:55 +01:00
Mateusz Mikuła
fdea885b80
Revert #149516 to fix i686-pc-windows-gnu host
...
Revert #149516 because it caused dist to pick up x86_64
`libwinpthreads.dll` dependency, resulting in broken toolchain.
This reverts commit 5afd8ff8df , reversing
changes made to 7cb02f9752 .
2025-12-03 21:23:37 +01:00
Jakub Beránek
fce8552f82
Use branch name instead of HEAD when unshallowing
2025-12-03 19:43:50 +01:00
Mateusz Mikuła
662192a878
Stop adding MSYS2 to PATH
...
Rust no longer requires MSYS2 tools like make.
2025-12-01 18:37:33 +01:00
Mateusz Mikuła
ab169ed983
Build gnullvm toolchains on Windows natively
2025-11-23 21:23:52 +01:00
Jakub Beránek
bc0126d451
Change default branch to main
2025-11-10 10:21:34 +01:00
Jakub Beránek
ae830ef494
Generalize branch name in scripts
2025-11-02 11:15:55 +01:00
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