mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Fix: CI bench-check
command (#7077)
# Objective I noticed that running the following command didn't actually do anything: ``` cargo run -p ci -- bench-check ``` ## Solution Made it so that running `cargo run -p ci -- bench-check` actually runs a compile check on the `benches` directory.
This commit is contained in:
parent
b44b606d29
commit
f866d72f15
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ fn main() {
|
|||
.expect("Please fix doc warnings in output above.");
|
||||
}
|
||||
|
||||
if what_to_run.contains(Check::COMPILE_FAIL) {
|
||||
if what_to_run.contains(Check::BENCH_CHECK) {
|
||||
let _subdir = sh.push_dir("benches");
|
||||
// Check that benches are building
|
||||
cmd!(sh, "cargo check --benches --target-dir ../target")
|
||||
|
|
Loading…
Reference in a new issue