diff --git a/ci/runtests.sh b/ci/runtests.sh index 6243edd..1a26e3a 100755 --- a/ci/runtests.sh +++ b/ci/runtests.sh @@ -59,7 +59,7 @@ declare -a FEATURES=( "$FEATURES_ASYNC" ) -# mctp-estack, sync an async +# mctp-estack, sync and async ( cd mctp-estack for feature in "${FEATURES[@]}"; do @@ -67,6 +67,13 @@ for feature in "${FEATURES[@]}"; do done; ) +# Linux programs and examples +# Tested individually to ensure each defines necessary features itself +LINUX_PROGRAMS="mctp-linux pldm-platform-util pldm-fw-cli mctp-standalone pldm-file pldm-platform" +for c in $LINUX_PROGRAMS; do + cargo check -p $c --all-targets +done + # run cargo doc tests for feature in "${FEATURES[@]}"; do cargo doc --features="$feature" diff --git a/mctp-linux/Cargo.toml b/mctp-linux/Cargo.toml index bf9ac79..c45a1f0 100644 --- a/mctp-linux/Cargo.toml +++ b/mctp-linux/Cargo.toml @@ -9,7 +9,7 @@ categories = ["network-programming", "embedded", "hardware-support", "os::linux- [dependencies] libc = "0.2" -mctp = { workspace = true } +mctp = { workspace = true, features = ["std"] } smol = { workspace = true } [[example]]