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:
Rob Bradford
2019-07-16 10:54:33 +01:00
committed by Samuel Ortiz
parent 1dfe16c382
commit 78fe807284
5 changed files with 341 additions and 0 deletions
Vendored
+4
View File
@@ -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"