Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions ci/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -v
set -e

export CARGO_TARGET_DIR=target/ci
export CARGO_TARGET_DIR="$PWD/target/ci"

rustup target add thumbv7em-none-eabihf
rustup component add rustfmt clippy
Expand All @@ -27,15 +27,13 @@ cargo test
NOSTD_CRATES="mctp pldm pldm-fw pldm-platform pldm-file"
for c in $NOSTD_CRATES; do
(
cd "$c"
cargo build --target thumbv7em-none-eabihf --no-default-features
cargo build -p $c --target thumbv7em-none-eabihf --no-default-features
)
done
ALLOC_CRATES="pldm pldm-platform pldm-file"
for c in $ALLOC_CRATES; do
(
cd "$c"
cargo build --target thumbv7em-none-eabihf --no-default-features --features alloc
cargo build -p $c --target thumbv7em-none-eabihf --no-default-features --features alloc
)
done

Expand Down
Loading