mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
72f3a69796
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>
20 lines
464 B
Groovy
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"
|
|
}
|
|
}
|
|
}
|
|
|