mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
785db6295e
Add 2 integration tests to validate virtio-pmem works as expected. One test takes care of checking the ability to read and write to this persistent memory from the guest, and validates that the data is carried over the virtualization boundary. The other test ensures the VM can be booted directly from an image that would be passed through virtio-pmem. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
20 lines
508 B
Groovy
20 lines
508 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"
|
|
}
|
|
stage ('Install Rust') {
|
|
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
|
|
}
|
|
stage ('Run integration tests') {
|
|
sh "sudo chmod a+rw /dev/kvm"
|
|
sh "scripts/run_integration_tests.sh"
|
|
}
|
|
}
|
|
}
|
|
|