Run clippy, docs and tests for tines-core with --no-default-features, gating the MemStore-based tests on `alloc` so they compile there. Fail on rustdoc warnings, pass --locked everywhere, and pin the toolchain to 1.99.0. In the workflow, use read-only permissions, cancel superseded runs, add a 20-minute timeout, and pin actions to commit SHAs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
220 B
Bash
Executable File
8 lines
220 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
target=thumbv7em-none-eabihf
|
|
if ! rustup target list --installed | grep -qx "$target"; then
|
|
rustup target add "$target"
|
|
fi
|
|
cargo build --locked -p tines-core --no-default-features --target "$target"
|