Some checks failed
rust-ci / checks (push) Has been cancelled
- Rust workspace: 7 library crates, icenetd CLI, icenet-city (Slint GUI) - Sim: fix false Delivered after a route cut, derive traffic class from payload size, per-link airtime slots (link capacity, queueing) - Docs: single docs/STATUS.md for all figures, remove v0.2/egui leftovers, drop unimplemented seed claims, uncheck store-and-forward - License: LGPL-3.0-or-later (LICENSE, LICENSES/GPL-3.0.txt)
13 lines
424 B
Bash
Executable file
13 lines
424 B
Bash
Executable file
#!/bin/sh
|
|
# Validate authored files and Rust code. Use --full to include Slint GUI.
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
python3 tools/check_layout.py
|
|
cargo fmt --all -- --check
|
|
if [ "${1:-}" = "--full" ]; then
|
|
cargo clippy --workspace --all-targets -- -D warnings
|
|
cargo test --workspace
|
|
else
|
|
cargo clippy -p icenet-routing -p icenet-sim --all-targets -- -D warnings
|
|
cargo test -p icenet-routing -p icenet-sim
|
|
fi
|