Commit Graph

128 Commits

Author SHA1 Message Date
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
Afonso Bordado
e12a882a67
S390X CI Support (#1304) 2022-12-04 00:23:01 +01:00
bjorn3
f845eafc2f Switch Linux runner to ubuntu-20.04 to unbreak CI
Earlier today CI started to fail on Linux with a crash during the
jit mode. Turns out ubuntu-latest switched from ubuntu-20.04 to
ubuntu-22.04. Let's switch back to ubuntu-20.04 for now to unbreak
CI until I figured out the root cause.

cc #1303
2022-12-02 21:57:04 +01:00
bjorn3
702a293776 Fix build dir caching 2022-12-01 19:00:32 +00:00
bjorn3
26d48c9a37 Rename the build/ directory to dist/
This will allow putting all temporary build artifacts in build/ in the
future, keeping all the build output artifacts in dist/
2022-11-28 13:01:49 +00:00
bjorn3
c57aacf3dd Update GHA actions for Node.js 12 deprecation 2022-10-28 14:20:27 +00:00
bjorn3
43d3e9261f Check build system formatting on CI 2022-10-26 13:35:18 +00:00
Afonso Bordado
6909219a29
Prefix artifact names with cg_clif
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
2022-09-27 12:42:27 +01:00
Afonso Bordado
4edf14520a Use target triple artifact names 2022-09-27 12:35:42 +01:00
Afonso Bordado
e96badc97f Disable some rand tests on MinGW 2022-09-27 10:39:24 +01:00
Afonso Bordado
738dd2b70b Windows CI Cache 2022-09-27 07:26:12 +01:00
Afonso Bordado
01d3e1a3ad Disable failing windows CI tests 2022-09-26 19:21:37 +01:00
Afonso Bordado
481484c141 Windows MinGW & MSVC Matrix CI 2022-09-26 19:21:30 +01:00
Afonso Bordado
5d7936650d Don't run tests on Windows CI 2022-07-30 22:58:34 +01:00
Afonso Bordado
bec651ef47 Compare lines iterator instead of full output
This avoids differences in line endings.
2022-07-30 22:05:39 +01:00
Afonso Bordado
78372d6b41 Log cloned regex output 2022-07-30 21:08:59 +01:00
Afonso Bordado
aa2f4072f6 Use Windows Env vars in CI 2022-07-30 20:02:07 +01:00
Afonso Bordado
c115933fb7 Run tests on windows CI 2022-07-30 12:48:46 +01:00
Afonso Bordado
3ce83dc469 Move test.sh to y.rs test 2022-07-30 11:15:51 +01:00
bjorn3
882c3900db Update object for the nightly Cranelift check 2022-04-30 13:44:18 +02:00
bjorn3
b84daf82eb Update actions/checkout to v3 2022-04-30 13:40:16 +02:00
bjorn3
6b4e640dcb Only deny warnings for cg_clif build itself
cc #1213
2021-12-30 12:40:23 +01:00
bjorn3
40e88469ce Enforce rustfmt on CI
Fixes #1214
2021-12-30 12:11:07 +01:00
bjorn3
7c62357bce Deny warnings on CI
Fixes #1213
2021-12-30 12:05:54 +01:00
bjorn3
7762c7a75e
Fix schedule time
Run at 01:17 UTC instead of 17:01
2021-12-26 11:55:12 +01:00
bjorn3
8726625867 Add cron job to test against latest cranelift version every day
Fixes #1212
2021-12-18 19:14:52 +01:00
bjorn3
f296311925 Test on CI with unstable cg_clif features disabled
Part of #1084
2021-12-03 13:16:34 +01:00
bjorn3
39cd1363d2 Enable artifact uploads for windows builds
Fixes #1210
2021-12-02 14:28:50 +01:00
bjorn3
ede41d1b98 [CI] Update package list before installing packages 2021-07-17 15:03:18 +02:00
bjorn3
3dc9ec246c [CI] Cross compile to aarch64-unknown-linux-gnu 2021-07-02 14:48:50 +02:00
bjorn3
42f9ad56e9 [CI] Split build and test steps 2021-07-02 14:43:12 +02:00
bjorn3
b0d7b526d9 [CI] Test compilation on Windows 2021-06-19 13:59:13 +02:00
bjorn3
fe6a2892a6 Rewrite prepare.sh in rust 2021-06-19 13:54:25 +02:00
bjorn3
f3b5e14eca Upload artifacts for cross compiling to MinGW
Fixes #1161
2021-04-16 14:39:46 +02:00
bjorn3
80b2feae1a Run the rustc test suite on CI 2021-03-15 15:22:18 +01:00
bjorn3
871874817b Lower GHA timeout to 60 min 2021-03-09 16:30:31 +01:00
bjorn3
4ca3384db6 Make it possible to enable the verifier in release mode 2021-03-06 15:33:47 +01:00
bjorn3
00f1cddb9c Test Windows cross-compilation on CI 2021-03-05 21:58:38 +01:00
bjorn3
92f765fce9 Remove support for x86 oldBE 2021-02-18 18:07:25 +01:00
bjorn3
ae6daf77ba Default to Cranelift newBE 2021-01-22 12:28:32 +01:00
bjorn3
da4aa92df1 Test both oldbe and newbe on CI 2021-01-21 19:34:58 +01:00
bjorn3
5988bbd24a Revert "Use the new component dependency option of the rust-toolchain file"
This reverts commit 648caced6e.

Rustup on github actions isn't yet updated
2020-11-27 18:05:05 +01:00
bjorn3
648caced6e Use the new component dependency option of the rust-toolchain file 2020-11-27 17:53:55 +01:00
bjorn3
54b1d101ef Test bootstrapping of rustc using cg_clif 2020-11-02 18:54:55 +01:00
bjorn3
8315730895 Upload prebuilt cg_clif 2020-11-02 18:24:21 +01:00
bjorn3
50cd72d590
Bump actions/cache to v2 2020-08-19 14:14:32 +02:00
bjorn3
f4e22f0bff [gh actions] Remove actions-rs/cargo step
It is not very useful and increases compilation time, as the
CARGO_INCREMENTAL env var differs between it and the cargo invocation in
test.sh
2020-08-19 14:05:57 +02:00
Veetaha
50ecea0c18 Remove cargo home perms workaround 2020-08-04 03:33:31 +03:00
bjorn3
b6144483ef Revert "[CI] Run the compile step with CARGO_INCREMENTAL=1"
This reverts commit af0fa74615.

It didn't do anything
2020-06-16 11:08:06 +02:00
bjorn3
af0fa74615
[CI] Run the compile step with CARGO_INCREMENTAL=1 2020-06-16 11:02:26 +02:00
bjorn3
2e5282f929 [CI] Hash Cargo.lock in addition to toolchain for target dir cache 2020-05-10 17:36:13 +02:00
bjorn3
a0eab7d913
Update actions-rs/cargo 2020-03-31 21:11:16 +02:00
bjorn3
6e9ee81271 [gh actions] Run the compile step with the same arguments as test.sh 2020-03-17 15:07:55 +01:00
bjorn3
fe0e2ae66d [gh actions] Really fix caching this time 2020-03-14 18:17:13 +01:00
bjorn3
9fd8b84a4b [gh actions] Invalidate cargo-registry cache 2020-03-14 12:49:52 +01:00
bjorn3
bed829389e [gh actions] invalidate cargo-installed-crates cache 2020-03-14 12:47:18 +01:00
bjorn3
50c1d8a028 [gh actions] Really fix permission problems with caching 2020-03-13 20:24:52 +01:00
bjorn3
014438c614 [gh actions] Cache cargo registry and index 2020-03-13 20:22:38 +01:00
bjorn3
2e5661dae6 [gh actions] Fix caching of ~/.cargo/bin 2020-03-13 20:22:33 +01:00
bjorn3
133b05b3a4 [gh actions] Cache target dir for specific rustc version 2020-03-13 19:24:17 +01:00
bjorn3
512b33f001 [gh actions] Fix caching of cargo installed crates 2020-03-13 18:55:25 +01:00
bjorn3
ec9b3e15af Setup github actions 2020-03-13 18:34:00 +01:00