tests: Enable AArch64 Jenkins CI with unit tests for GNU

This commit enables the AArch64 Jenkins CI with build and running
unit tests for GNU toolchain.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2020-06-17 18:16:19 +08:00
committed by Rob Bradford
parent ba3f1bcde2
commit 462c58d58b
4 changed files with 27 additions and 3 deletions

25
Jenkinsfile vendored
View File

@@ -67,6 +67,29 @@ pipeline{
}
}
}
stage ('AArch64 worker build') {
agent { node { label 'bionic-arm64' } }
options {
timeout(time: 1, unit: 'HOURS')
}
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage ('Build') {
steps {
sh "scripts/dev_cli.sh build --release"
}
}
stage ('Run unit tests') {
steps {
sh "scripts/dev_cli.sh tests --unit"
}
}
}
}
stage ('Worker build (musl)') {
agent { node { label 'bionic' } }
options {
@@ -108,4 +131,4 @@ def cancelPreviousBuilds() {
build.doStop()
}
}
}
}