Files
lib_xua/Jenkinsfile
2018-12-13 18:01:44 +00:00

62 lines
1.0 KiB
Groovy

@Library('xmos_jenkins_shared_library@master') _
pipeline {
agent {
label 'x86&&macOS&&Apps'
}
environment {
VIEW = 'xua'
REPO = 'lib_xua'
}
options {
skipDefaultCheckout()
}
stages {
stage('Get view') {
steps {
prepareAppsSandbox("${VIEW}", "${REPO}")
}
}
stage('Library checks') {
steps {
xcoreLibraryChecks("${REPO}")
}
}
stage('Tests') {
steps {
runXmostest("${REPO}", 'tests')
}
}
stage('Host builds') {
steps {
dir("${REPO}") {
dir("${REPO}") {
dir('host') {
dir('xmosdfu') {
sh 'make -f Makefile.OSX64'
}
}
}
}
}
}
stage('xCORE builds') {
steps {
dir("${REPO}") {
xcoreAllAppNotesBuild('examples')
dir("${REPO}") {
runXdoc('doc')
}
}
}
}
}
post {
success {
updateViewfiles()
}
cleanup {
cleanWs()
}
}
}