Skip to content

Commit

Permalink
Test monotonic feature in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed May 23, 2024
1 parent 3c353da commit 7fd7bff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions xtask/tests/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,26 @@ fn main() {
"command exited with error status: {:?}",
cargo
);
// With default features plus `monotonic`.
let mut cargo = Command::new("cargo");
let status = cargo
.args(&[
"build",
"--manifest-path",
&toml_path,
"--target",
target,
"--features",
"monotonic",
])
.status()
.map_err(|e| format!("could not execute {:?}: {}", cargo, e))
.unwrap();
assert!(
status.success(),
"command exited with error status: {:?}",
cargo
);
// Without default features.
let mut cargo = Command::new("cargo");
let status = cargo
Expand Down

0 comments on commit 7fd7bff

Please sign in to comment.