Skip to content

Commit

Permalink
CI: remove cargo tests, build and run usbip example
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Jul 31, 2023
1 parent cc2d1db commit 09a394c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ setup-fedora:

ci:
$(MAKE) check
cargo test
cargo build --example usbip --features $(FEATURES)
-timeout 2 $(MAKE) usbip
# TODO: run cargo test

check:
cargo fmt --check
Expand Down
4 changes: 2 additions & 2 deletions examples/usbip/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ impl trussed::platform::UserInterface for UserInterface {
warn!("Unsupported status value: {:?}", status);
CustomStatus::Unknown
});
info!("Set status: [{}] {:?}", s, cs);
info!("Set status: [{}] {:?}", s, _cs);
}

if status == ui::Status::WaitingForUserPresence {
Expand All @@ -337,7 +337,7 @@ impl trussed::platform::UserInterface for UserInterface {
}

fn reboot(&mut self, _to: reboot::To) -> ! {
info!("Restart! ({:?})", to);
info!("Restart! ({:?})", _to);
std::process::exit(25);
}
}
Expand Down

0 comments on commit 09a394c

Please sign in to comment.