Files
3d_audio/lib_gpio/Jenkinsfile

56 lines
986 B
Plaintext
Raw Normal View History

2026-05-12 11:17:20 +08:00
@Library('xmos_jenkins_shared_library@v0.32.0') _
getApproval()
pipeline {
agent {
label 'x86_64&&linux'
}
environment {
REPO = 'lib_gpio'
VIEW = getViewName(REPO)
}
options {
skipDefaultCheckout()
}
stages {
stage('Get view') {
steps {
xcorePrepareSandbox("${VIEW}", "${REPO}")
}
}
stage('Library checks') {
steps {
xcoreLibraryChecks("${REPO}")
}
}
stage('Tests') {
steps {
runXmostest("${REPO}", 'tests')
}
}
stage('xCORE builds') {
steps {
dir("${REPO}") {
xcoreAllAppsBuild('examples')
dir("${REPO}") {
runXdoc('doc')
}
}
// Archive all the generated .pdf docs
archiveArtifacts artifacts: "${REPO}/**/pdf/*.pdf", fingerprint: true, allowEmptyArchive: true
}
}
}
post {
success {
updateViewfiles()
}
cleanup {
xcoreCleanSandbox()
}
}
}