CI builds tests and lints with a ci profile instead of --release
Light optimisation (deps at 2), line tables only, no LTO, debug assertions off (truck's debug-only checks reject valid geometry, the only reason tests used --release). Cold full `cargo xtask ci`: 14 min with all 647 tests passing; the oracle, step-corpus and app builds stay on --release. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT
This commit is contained in:
1 parent
49d6682fe7
commit
448ea769eb
4 files changed
+26
-9
No files matched your search
+2
-2
@@ -322,10 +322,10 @@ fn cmd_ci() -> Result<(), String> {
|
||||
c.args(["fmt", "--all", "--", "--check"]);
|
||||
run(c, "cargo fmt --check")?;
|
||||
let mut c = cargo();
|
||||
c.args(["clippy", "--workspace", "--all-targets", "--release", "--", "-D", "warnings"]);
|
||||
c.args(["clippy", "--workspace", "--all-targets", "--profile", "ci", "--", "-D", "warnings"]);
|
||||
run(c, "cargo clippy -D warnings")?;
|
||||
let mut c = cargo();
|
||||
c.args(["test", "--workspace", "--release"]);
|
||||
c.args(["test", "--workspace", "--profile", "ci"]);
|
||||
run(c, "cargo test")?;
|
||||
assets::run(&root())?;
|
||||
licences::run(&root(), true)?;
|
||||
|
||||
Reference in new issue
Block a user