Commit Graph

111 Commits

Author SHA1 Message Date
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
bjorn3
bd45794be5 Run tests against cg_llvm too in CI
Fixes #1115
2023-05-26 11:27:29 +00:00
bjorn3
c7053b391c Set a timeout of 1h for the "Various rustc tests" GHA workflow
Fixes #1368
2023-04-09 13:01:10 +00:00
bjorn3
cc570ae05c Publish a dev release on every commit 2023-03-24 19:23:04 +00:00
bjorn3
18184d8ecd Format all tests in example/ 2023-03-18 14:27:50 +00:00
bjorn3
b1cf90c4dc Sparse registry is now the default on nightly 2023-03-15 15:20:20 +00:00
bjorn3
5220e60ac6 Rename build job to test 2023-02-19 18:23:49 +00:00
bjorn3
90298f1301 Only allow a single abi-cafe run at a time per branch 2023-02-19 18:08:54 +00:00
bjorn3
f935dc82bc Move abi-cafe runs to a separate workflow 2023-02-19 18:02:18 +00:00
bjorn3
7d53619064 Force the allocator to be looked up from the perspective of the rustc binary
Fixes #1303
2023-02-07 15:37:49 +01:00
bjorn3
761a91ade8 Build CI dist artifacts without debug assertions
This significantly improves performance. For example for the
simple-raytracer benchmark it goes from a 13% improvement over LLVM to
39% improvement over LLVM.
2023-02-04 11:31:17 +00:00
bjorn3
78bf4af659 Fix hyperfine install on CI 2023-02-01 13:58:05 +00:00
bjorn3
79f4cc0822 Run y.rs bench in CI 2023-01-31 18:14:54 +00:00
bjorn3
6eef214e46 Separate out abi-cafe runs into separate CI jobs
This increases build parallelism
2023-01-20 17:49:59 +00:00
bjorn3
7095783268 Only run abi-cafe on cg_clif's CI 2023-01-16 11:21:37 +00:00
bjorn3
c950f2265e Build rtstartup for MinGW from scratch
Rather than copying it from an existing sysroot
2023-01-14 17:02:21 +00:00
bjorn3
395eaa1538 Remove Test nightly Cranelift workflow
Cranelift makes api breaking changes often enough that this workflow
fails half of the time. As such in practice I completely ignore it's
result and push an update to a branch after Cranelift branches to test
everything on CI. In this update I immediately fix the fallout of api
breaking changes.
2023-01-14 14:17:43 +00:00
bjorn3
be8f656fac Pass --frozen to cargo to ensure ./y.rs prepare fetches all deps 2023-01-13 16:13:26 +00:00
bjorn3
890c61216a Set core.autocrlf=false in the build system instead of CI config 2023-01-13 15:29:26 +00:00
bjorn3
397fafa160 Don't require git user to be configured for testing rust 2023-01-13 13:51:51 +00:00
bjorn3
af99a369c4 Use sparse cargo registry 2023-01-13 13:48:52 +00:00
bjorn3
e14e5c2af1 Don't use hyperfine during testing
A new command ./y.rs bench is introduced for benchmarking. This change
allows skipping hyperfine installation in ./y.rs prepare and thus avoids
writing to ~/.cargo/bin.
2023-01-05 18:14:59 +00:00
bjorn3
e735206f50 Unify Windows and non-Windows CI 2022-12-15 18:01:05 +00:00
bjorn3
280fb2935b Start running regex-shootout-regex-dna on Windows again 2022-12-15 17:49:37 +00:00
bjorn3
1ca07b9a44 Fix running simple-raytracer benchmark on Windows 2022-12-15 17:28:48 +00:00
bjorn3
6c88b08adc Fix some build steps on Windows 2022-12-15 17:28:21 +00:00
bjorn3
cc3ac006a2 Move many env vars from CI configuration to the build system 2022-12-15 14:16:53 +00:00
bjorn3
e082eebb5f Run verifier checks during rustc tests too
Fixes #1219
2022-12-15 13:59:29 +00:00
bjorn3
d74e5b6cc7 Update actions/upload-artifact to v3
v2 depends on Node.js 12 which will be removed from GHA in the near future
2022-12-15 12:22:57 +00:00
bjorn3
a45924cc21 Explicitly provide dummy git author name and email
This avoids the need to tell git beforehand about your name and email
2022-12-14 15:22:56 +00:00