build: Run musl builds in parallel to glibc builds

Run these builds against every PR rather than just master.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-06-10 08:47:18 +01:00
parent 083189e5a1
commit 176d671609

15
Jenkinsfile vendored
View File

@ -65,14 +65,25 @@ pipeline{
sh "scripts/dev_cli.sh tests --integration"
}
}
}
}
stage ('Worker build (musl)') {
agent { node { label 'bionic' } }
options {
timeout(time: 1, unit: 'HOURS')
}
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage ('Run unit tests for musl') {
when { branch 'master' }
steps {
sh "scripts/dev_cli.sh tests --unit --libc musl"
}
}
stage ('Run integration tests for musl') {
when { branch 'master' }
steps {
sh "scripts/dev_cli.sh tests --integration --libc musl"
}