Commit graph

140 commits

Author SHA1 Message Date
bjorn3
c252af5cbb Fix audit workflow 2025-12-23 15:30:38 +00:00
bjorn3
49f1fa5110 Unconditionally install rustfmt
Rustfmt used to be optional for nightlies long ago, but it is now
always present. Also rename rust-toolchain to rust-toolchain.toml.
2025-12-16 16:42:17 +00:00
bjorn3
5aabbb6321 Fix dev release after renaming the default branch to main 2025-10-24 19:54:43 +00:00
bjorn3
34eb0ce741 Use macos-15-intel runners for x86_64 2025-09-25 10:11:14 +00:00
bjorn3
42943a93cc Re-enable x86_64 macOS CI builds 2025-08-29 18:41:14 +00:00
bjorn3
dbca51abe6 Temporarily disable x86_64 macOS
Upstream rustc broke it when turning it into a tier 2 target
2025-08-21 13:38:58 +00:00
bjorn3
829413d208 Tell rustfmt to use the 2024 edition 2025-04-04 10:46:47 +00:00
bjorn3
4b7bcdbf9f Use the github cli to publish dev releases
This removes a whole bunch of complicated javascript with two lines of
bash.

Fixes rust-lang/rustc_codegen_cranelift#1562
2025-03-06 14:43:29 +00:00
bjorn3
994c8cfaf6 Skip downloading test crates in CI jobs that don't need them 2025-02-26 11:11:44 +00:00
bjorn3
2695a19fb0 Use native x86_64 runners for macOS abi-cafe tests too 2025-02-26 10:35:27 +00:00
bjorn3
bdcd07466b Use native x86_64 macOS runners for x86_64 builds
Rather than running in Rosetta 2. This should make testing on CI faster.
2025-02-26 10:10:43 +00:00
bjorn3
439062052e Test and dist for arm64 linux on CI 2025-02-26 09:32:53 +00:00
bjorn3
de27d8593d Update to newer Ubuntu in CI for distributing precompiled artifacts
GHA is going to remove support for ubuntu-20.04 in a couple of months
2025-02-14 10:57:29 +00:00
bjorn3
113af154d4 Stop building and testing mingw cross-toolchain
It isn't all that useful and wine has started crashing in CI
2024-12-29 13:35:43 +00:00
bjorn3
a220a53af3 Disable testing on wine
Wine started crashing for whatever reason. Supporting native Windows is
much more important and already tested separately.
2024-12-18 17:48:08 +00:00
bjorn3
5e1298ccdb Revert "Skip testing extended_sysroot tests with cg_llvm on CI"
This reverts commit 521288ef0f.

I got what it tests backwards. It tests against a sysroot compiled with
LLVM. Not with the LLVM backend. The latter is done by the test_llvm CI
job.
2024-11-03 14:37:10 +00:00
bjorn3
521288ef0f Skip testing extended_sysroot tests with cg_llvm on CI 2024-11-03 13:47:58 +00:00
bjorn3
e55c630133 Add back bench job dependency for the release job 2024-08-10 15:20:58 +00:00
bjorn3
6ef49b2ea3 Run abi-cafe tests for pull requests too 2024-08-07 09:35:31 +00:00
Rémy Rakic
9ad44ba737 enable abi-cafe tests on aarch64-apple-darwin 2024-08-04 08:44:40 +00:00
bjorn3
e52af665f5 Update abi-cafe
This has found a couple of new abi issues. I also had to disable the
abi-cafe tests for the MinGW target as one of these abi issues causes a
hang and abi-cafe doesn't yet support timeouts.
2024-08-02 18:08:29 +00:00
Rémy Rakic
5203b7e10d
Set rustup profile to minimal (#1516) 2024-07-14 16:59:06 +02:00
bjorn3
45600348c0 Stop pinning XCode 14
The linker issue with XCode 15 has been fixed.
2024-06-29 15:08:04 +00:00
beetrees
b0fcf2e27a
Add aarch64-apple-darwin to CI 2024-06-20 00:08:08 +01:00
bjorn3
406770001e Don't require the bench job to pass for a new release
cc rust-lang/rust#125493
2024-06-04 16:26:51 +02:00
bjorn3
9ee010cc34 Try to workaround gha issue with the caching action 2024-05-11 17:19:46 +00:00
bjorn3
f437815d91 Compile for x86_64 on macOS even with an arm64 host
We don't support arm64 on macOS yet.
2024-05-11 14:11:53 +00:00
bjorn3
05367c5b9e Downgrade XCode to workaround a bug in ld prime 2024-04-28 18:57:28 +00:00
bjorn3
f7cc528deb Restore required permission for the release job 2024-04-07 17:31:44 +00:00
bjorn3
1bab6df32b Remove all checks for CI in the build system
And introduce the CG_CLIF_EXPENSIVE_CHECKS env var in the place.
2024-04-05 14:31:12 +00:00
bjorn3
f269cdd805 Move disabling incr comp and denying warnings to the CI config 2024-04-05 13:59:28 +00:00
bjorn3
603b2800f7 Revoke all permissions from GHA workflows where possible 2024-04-05 13:50:21 +00:00
bjorn3
65342df8cd Dedup default shell specification for GHA 2024-04-05 13:49:29 +00:00
bjorn3
91ffd74de4 Simplify GHA CI workflow 2024-04-05 13:49:29 +00:00
bjorn3
d9f29fa018 Rustfmt all scripts 2024-03-31 09:13:11 +00:00
bjorn3
07633821ed Add bcryptprimitives.dll shim for wine 2024-03-09 19:51:11 +00:00
bjorn3
2b0f51b0b8 Disable Linux MinGW cross-compilation testing for now 2024-03-08 19:02:56 +00:00
bjorn3
1fba58ed94 Update actions/checkout and actions/cache 2024-01-26 11:06:55 +00:00
bjorn3
3fa4efffb0 Install ripgrep using the system package manager 2023-12-31 11:14:50 +00:00
bjorn3
e2502acd15 Update the GHA artifacts actions to v4 2023-12-31 11:04:53 +00:00
bjorn3
4b239facd7 Install hyperfine using the system package manager 2023-12-31 11:01:07 +00:00
bjorn3
ede3269ed8 Print /proc/cpuinfo for the CI runner where relevant 2023-11-12 16:59:15 +00:00
bjorn3
04a3850317 Run tests for riscv64 2023-10-21 16:46:24 +00:00
bjorn3
0b1a9d735b Speed up audit workflow 2023-07-24 12:30:04 +00:00
bjorn3
9a0c174dfd Add weekly cargo-audit CI run 2023-07-24 12:20:14 +00:00
bjorn3
fae8935e3d Avoid installing rustc-dev in the rustfmt CI job 2023-07-13 11:39:04 +00:00
bjorn3
8b23094ade Fix some outdated references to y.rs 2023-06-19 16:21:11 +00:00
bjorn3
d0b8896189 Allow building the build system using cargo
Rust's build system only handles cargo, not rustc.
2023-06-13 16:39:59 +00:00
bjorn3
8fbd6f521a Skip LLVM sysroot testing for native x86_64-pc-windows-gnu in CI
It is way too slow and cross-compiled x86_64-pc-windows-gnu covers at
least part of the tests.
2023-06-05 17:20:59 +00:00
bjorn3
aeac484d18 Run tests with LLVM sysroot in CI 2023-06-05 16:41:03 +00:00