Skip to content

Commit

Permalink
Merge pull request #61 from xmos/release/v3.1.1
Browse files Browse the repository at this point in the history
Release v3.1.1
  • Loading branch information
mbanth authored Sep 28, 2021
2 parents ade7ccd + 6d2f1a7 commit 5e76ccd
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Logging change log
==================

3.1.1
-----

* CHANGED: Jenkinsfile used for CI

3.1.0
-----

Expand Down
57 changes: 26 additions & 31 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,18 @@ getApproval()

pipeline {
agent none
//Tools for AI verif stage. Tools for standard stage in view file
parameters {
string(
name: 'TOOLS_VERSION',
defaultValue: '15.0.2',
description: 'The tools version to build with (check /projects/tools/ReleasesTools/)'
)
environment {
REPO = 'lib_logging'
VIEW = getViewName(REPO)
}
options {
skipDefaultCheckout()
}
stages {
stage('Standard build and XS2 tests') {
agent {
label 'x86_64&&brew'
}
environment {
REPO = 'lib_logging'
VIEW = getViewName(REPO)
}
options {
skipDefaultCheckout()
}
stages{
stage('Get view') {
steps {
Expand Down Expand Up @@ -81,30 +73,33 @@ pipeline {
agent {
label 'xcore.ai-explorer'
}
environment {
// '/XMOS/tools' from get_tools.py and rest from tools installers
TOOLS_PATH = "/XMOS/tools/${params.TOOLS_VERSION}/XMOS/xTIMEcomposer/${params.TOOLS_VERSION}"
}
stages{
stage('Install Dependencies') {
stage('Get view') {
steps {
sh '/XMOS/get_tools.py ' + params.TOOLS_VERSION
installDependencies()
xcorePrepareSandbox("${VIEW}", "${REPO}")
}
}
stage('xrun'){
steps{
toolsEnv(TOOLS_PATH) { // load xmos tools
//Run this and diff against expected output. Note we have the lib files here available
unstash 'debug_printf_test'
sh 'xrun --io --id 0 bin/xcoreai/debug_printf_test.xe &> debug_printf_test.txt'
sh 'cat debug_printf_test.txt && diff debug_printf_test.txt tests/test.expect'
dir("${REPO}") {
viewEnv { // load xmos tools
withVenv { // activate virtualenv
//Install xtagctl and reset xtags
sh "pip install -e ${WORKSPACE}/xtagctl"
sh 'xtagctl reset_all XCORE-AI-EXPLORER'

//Just run these and error on exception
unstash 'AN00239'
sh 'xrun --io --id 0 bin/xcoreai/AN00239.xe'
unstash 'app_debug_printf'
sh 'xrun --io --id 0 bin/xcoreai/app_debug_printf.xe'
//Run this and diff against expected output. Note we have the lib files here available
unstash 'debug_printf_test'
sh 'xrun --io --id 0 bin/xcoreai/debug_printf_test.xe &> debug_printf_test.txt'
sh 'cat debug_printf_test.txt && diff debug_printf_test.txt tests/test.expect'

//Just run these and error on exception
unstash 'AN00239'
sh 'xrun --io --id 0 bin/xcoreai/AN00239.xe'
unstash 'app_debug_printf'
sh 'xrun --io --id 0 bin/xcoreai/app_debug_printf.xe'
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib_logging/module_build_info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 3.1.0
VERSION = 3.1.1

DEPENDENT_MODULES =

Expand Down

0 comments on commit 5e76ccd

Please sign in to comment.