From df3b20f472ff9c6cece629357d660c95ef497fe5 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 3 Sep 2021 15:56:50 +0100 Subject: [PATCH] Revert "build: Temporarily disable baremetal testing" This reverts commit d475b953b85289a45c699da77f595ff17724f352. Signed-off-by: Rob Bradford --- Jenkinsfile | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index f743302dd..bbe92cb29 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -106,6 +106,78 @@ pipeline{ } } } + stage ('Worker build SGX') { + agent { node { label 'bionic-sgx' } } + when { + beforeAgent true + branch 'main' + } + stages { + stage ('Checkout') { + steps { + checkout scm + } + } + stage ('Run SGX integration tests') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-sgx" + } + } + stage ('Run SGX integration tests for musl') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-sgx --libc musl" + } + } + } + post { + always { + sh "sudo chown -R jenkins.jenkins ${WORKSPACE}" + deleteDir() + } + } + } + stage ('Worker build VFIO') { + agent { node { label 'bionic-vfio' } } + when { + beforeAgent true + branch 'main' + } + stages { + stage ('Checkout') { + steps { + checkout scm + } + } + stage ('Run VFIO integration tests') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-vfio" + } + } + stage ('Run VFIO integration tests for musl') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-vfio --libc musl" + } + } + } + post { + always { + sh "sudo chown -R jenkins.jenkins ${WORKSPACE}" + deleteDir() + } + } + } stage ('Worker build - Windows guest') { agent { node { label 'hirsute' } } environment {