mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
scripts: populate build and test features based on hypervisor
Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
parent
ca4857b5e6
commit
6454c677d0
@ -15,6 +15,11 @@ process_common_args "$@"
|
||||
features_build=""
|
||||
features_test="--features integration_tests"
|
||||
|
||||
if [ "$hypervisor" = "mshv" ] ; then
|
||||
features_build="--no-default-features --features mshv,common"
|
||||
features_test="--no-default-features --features mshv,common,integration_tests"
|
||||
fi
|
||||
|
||||
cp scripts/sha1sums-x86_64 $WORKLOADS_DIR
|
||||
|
||||
FOCAL_OS_IMAGE_NAME="focal-server-cloudimg-amd64-custom-20210609-0.qcow2"
|
||||
|
@ -15,6 +15,11 @@ process_common_args "$@"
|
||||
features_build=""
|
||||
features_test="--features integration_tests"
|
||||
|
||||
if [ "$hypervisor" = "mshv" ] ; then
|
||||
features_build="--no-default-features --features mshv,common"
|
||||
features_test="--no-default-features --features mshv,common,integration_tests"
|
||||
fi
|
||||
|
||||
cp scripts/sha1sums-x86_64 $WORKLOADS_DIR
|
||||
|
||||
FW_URL=$(curl --silent https://api.github.com/repos/cloud-hypervisor/rust-hypervisor-firmware/releases/latest | grep "browser_download_url" | grep -o 'https://.*[^ "]')
|
||||
|
Loading…
Reference in New Issue
Block a user