forked from PAWPAW-Mirror/lib_xua
Add tools for UT
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -11,6 +11,12 @@ pipeline {
|
||||
options {
|
||||
skipDefaultCheckout()
|
||||
}
|
||||
environment {
|
||||
REPO = 'sw_usb_audio'
|
||||
VIEW = getViewName(REPO)
|
||||
TOOLS_VERSION = "15.2.1"
|
||||
XTAGCTL_VERSION = "v2.0.0"
|
||||
}
|
||||
stages {
|
||||
stage('Basic tests') {
|
||||
agent {
|
||||
@@ -45,9 +51,8 @@ pipeline {
|
||||
}
|
||||
stage('Unity tests') {
|
||||
steps {
|
||||
dir("${REPO}") {
|
||||
dir('tests') {
|
||||
dir('xua_unit_tests') {
|
||||
dir("${REPO}/test/xua_unit_tests") {
|
||||
withTools("${env.TOOLS_VERSION}") {
|
||||
withVenv {
|
||||
withEnv(["XMOS_CMAKE_PATH=${WORKSPACE}/xcommon_cmake"]) {
|
||||
sh "cmake -G 'Unix Makefiles' -B build"
|
||||
@@ -62,7 +67,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('xCORE builds') {
|
||||
steps {
|
||||
dir("${REPO}") {
|
||||
|
||||
Reference in New Issue
Block a user