mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
5ae3144f5b
The VFIO integration test first boots a QEMU guest and then assigns the QEMU virtio-pci networking device into a nested cloud-hypervisor guest. We then check that we can ssh into the nested guest and verify that it's running with the right kernel command line. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
24 lines
647 B
Groovy
24 lines
647 B
Groovy
stage ("Builds") {
|
|
node ('bionic') {
|
|
stage ('Checkout') {
|
|
checkout scm
|
|
}
|
|
stage ('Install system packages') {
|
|
sh "sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq build-essential mtools libssl-dev pkg-config"
|
|
sh "sudo apt-get install -yq flex bison libelf-dev qemu-utils qemu-system"
|
|
}
|
|
stage ('Install Rust') {
|
|
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
|
|
}
|
|
stage ('Run unit tests') {
|
|
sh "sudo chmod a+rw /dev/kvm"
|
|
sh "scripts/run_unit_tests.sh"
|
|
}
|
|
stage ('Run integration tests') {
|
|
sh "sudo mount -t tmpfs tmpfs /tmp"
|
|
sh "scripts/run_integration_tests.sh"
|
|
}
|
|
}
|
|
}
|
|
|