mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Run unit tests on the Jenkins server
The addition of [workspace] to the top level Cargo.toml is necessary to have the binaries colocated together. The Cargo.lock files have also been refreshed by the change to the Cargo.toml. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
1dfe16c382
commit
78fe807284
Vendored
+4
@@ -10,6 +10,10 @@ stage ("Builds") {
|
||||
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 chmod a+rw /dev/kvm"
|
||||
sh "scripts/run_integration_tests.sh"
|
||||
|
||||
Reference in New Issue
Block a user