diff --git a/scripts/run_cargo_tests.sh b/scripts/run_cargo_tests.sh index da6f24abf..1abbc7acc 100755 --- a/scripts/run_cargo_tests.sh +++ b/scripts/run_cargo_tests.sh @@ -25,4 +25,4 @@ time cargo clippy --all-targets --no-default-features --features "mmio" -- -D wa time cargo rustc --bin cloud-hypervisor --no-default-features --features "mmio" -- -D warnings time cargo rustc --bin vhost_user_net --no-default-features --features "mmio" -- -D warnings time cargo fmt -- --check -time cargo build --release +time cargo build --all --release diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index 3da2d8908..25339de87 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -201,7 +201,7 @@ TARGET_CC="musl-gcc" CFLAGS="-I /usr/include/x86_64-linux-musl/ -idirafter /usr/include/" fi -cargo build --release --target $BUILD_TARGET +cargo build --all --release --target $BUILD_TARGET strip target/$BUILD_TARGET/release/cloud-hypervisor strip target/$BUILD_TARGET/release/vhost_user_net strip target/$BUILD_TARGET/release/ch-remote @@ -249,7 +249,7 @@ fi if [ $RES -eq 0 ]; then # virtio-mmio based testing - cargo build --release --target $BUILD_TARGET --no-default-features --features "mmio" + cargo build --all --release --target $BUILD_TARGET --no-default-features --features "mmio" strip target/$BUILD_TARGET/release/cloud-hypervisor strip target/$BUILD_TARGET/release/vhost_user_net strip target/$BUILD_TARGET/release/ch-remote