Commit Graph

85 Commits

Author SHA1 Message Date
bjorn3
04a3850317 Run tests for riscv64 2023-10-21 16:46:24 +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
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
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
890c61216a Set core.autocrlf=false in the build system instead of CI config 2023-01-13 15:29:26 +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
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
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