This commit is contained in:
Steven Dan
2026-05-12 11:17:20 +08:00
parent b5b095efd0
commit b43581c2ff
473 changed files with 55278 additions and 0 deletions

55
lib_gpio/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,55 @@
@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()
}
}
}