mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
tests: Prepare for splitting binaries by building all binaries
In preparation for splitting the binaries into their own crates start building all the binaries in the workspace as part of the integration testing suite. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
6f59cdbb55
commit
b8be6bab16
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user