diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..f2e9dbad --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,61 @@ +@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() + } + } +}