cloud-hypervisor/Jenkinsfile
Rob Bradford 72f3a69796 tests: Add test for booting from vmlinux
Download and build a Linux kernel and use the vmlinux produced as the
kernel used with a direct boot kernel test.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-06-10 16:49:34 +01:00

20 lines
464 B
Groovy

stage ("Builds") {
node ('bionic') {
stage ('Checkout') {
checkout scm
}
stage ('Install system packages') {
sh "sudo apt-get -y install build-essential mtools libssl-dev pkg-config"
sh 'sudo apt-get -y install flex bison libelf-dev'
}
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"
}
}
}