-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare v5.3.0 #217
Merged
+159
−166
Merged
Prepare v5.3.0 #217
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b446a00
xmosdoc v4 fixes
BrennanGit 45ff964
move docs build to jenkins
BrennanGit 86c342f
doc_builder -> xmosdoc
BrennanGit 2fa4c5b
set xmosdoc version to v4
BrennanGit 5e74ad5
Merge pull request #211 from BrennanGit/feature/doc_builder_v4
BrennanGit edc7f53
Add support for XCommon CMake build system on v5.2.0 and above
xalbertoisorna 6015650
adding missing files
xalbertoisorna dd4b37d
minor review updates
xalbertoisorna 2c7bcef
Merge pull request #215 from xmos/feature/xcommon_cmake_on_v5
xalbertoisorna 12152c6
Include platform.h in vanilla.cpp
ACascarino 4a7f597
Update changelog
ACascarino 936aca4
Merge pull request #216 from ACascarino/bugfix/vanilla_platform_h
ACascarino 568154f
Update version number
ACascarino f710437
Bump version number
ACascarino eab6de3
Bump infr_apps and infr_scripts_py
ACascarino bc2c186
Include platform.h
ACascarino 70798c7
More platform.h fixes
ACascarino 129ef7c
Yet more platform.h changes
ACascarino d7d8745
Another set of platform.h fixes
ACascarino 4b50c3d
Fix xscope invocation in tests
ACascarino d36db2d
Merge pull request #218 from ACascarino/feature/release_fixes_v5.3.0
ACascarino 7687ecd
Copyrights
ACascarino b30dd40
Merge pull request #219 from ACascarino/feature/release_fixes_v5.3.0
ACascarino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@Library('xmos_jenkins_shared_library@v0.25.0') _ | ||
@Library('xmos_jenkins_shared_library@v0.33.0') _ | ||
getApproval() | ||
pipeline { | ||
agent none | ||
|
@@ -15,53 +15,82 @@ pipeline { | |
parameters { | ||
string( | ||
name: 'TOOLS_VERSION', | ||
defaultValue: '15.2.1', | ||
defaultValue: '15.3.0', | ||
description: 'The XTC tools version' | ||
) | ||
} | ||
environment { | ||
REPO = 'lib_mic_array' | ||
} | ||
stages { | ||
stage('Basic tests') { | ||
agent { | ||
label 'x86_64 && linux' | ||
} | ||
stages { | ||
stage("Setup") { | ||
// Clone and install build dependencies | ||
stage('Build and Docs') { | ||
parallel { | ||
stage('Build Docs') { | ||
agent { label "docker" } | ||
environment { XMOSDOC_VERSION = "v4.0" } | ||
steps { | ||
// Print the build agent name | ||
println "RUNNING ON" | ||
println env.NODE_NAME | ||
// Clone infrastructure repos | ||
sh "git clone --branch v1.4.6 [email protected]:xmos/infr_apps" | ||
sh "git clone --branch v1.2.1 [email protected]:xmos/infr_scripts_py" | ||
// clone | ||
dir("$REPO") { | ||
checkout scm | ||
sh "git submodule update --init --recursive" | ||
withTools(params.TOOLS_VERSION) { | ||
installDependencies() | ||
} | ||
checkout scm | ||
sh 'git submodule update --init --recursive --depth 1' | ||
sh "docker pull ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION" | ||
sh """docker run -u "\$(id -u):\$(id -g)" \ | ||
--rm \ | ||
-v ${WORKSPACE}:/build \ | ||
ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION -v""" | ||
archiveArtifacts artifacts: "doc/_build/**", allowEmptyArchive: true | ||
} | ||
post { | ||
cleanup { | ||
xcoreCleanSandbox() | ||
} | ||
} | ||
} | ||
stage("Lib checks") { | ||
steps { | ||
println "Unlikely these will pass.." | ||
// warnError("Source Check"){ sourceCheck("${REPO}") } | ||
// warnError("Changelog Check"){ xcoreChangelogCheck("${REPO}") } | ||
stage('Basic tests') { | ||
when { | ||
expression { !env.GH_LABEL_DOC_ONLY.toBoolean() } | ||
} | ||
agent { | ||
label 'x86_64 && linux' | ||
} | ||
stages { | ||
stage("Setup") { | ||
// Clone and install build dependencies | ||
steps { | ||
// Print the build agent name | ||
println "RUNNING ON" | ||
println env.NODE_NAME | ||
// Clone infrastructure repos | ||
sh "git clone --branch v1.6.0 [email protected]:xmos/infr_apps" | ||
sh "git clone --branch v1.3.0 [email protected]:xmos/infr_scripts_py" | ||
// clone | ||
dir("$REPO") { | ||
checkout scm | ||
sh "git submodule update --init --recursive" | ||
withTools(params.TOOLS_VERSION) { | ||
installDependencies() | ||
} | ||
} | ||
} | ||
} | ||
stage("Lib checks") { | ||
steps { | ||
println "Unlikely these will pass.." | ||
// warnError("Source Check"){ sourceCheck("${REPO}") } | ||
// warnError("Changelog Check"){ xcoreChangelogCheck("${REPO}") } | ||
} | ||
} | ||
} | ||
post { | ||
cleanup { | ||
xcoreCleanSandbox() | ||
} | ||
} | ||
} | ||
} | ||
post { | ||
cleanup { | ||
xcoreCleanSandbox() | ||
} | ||
} | ||
} | ||
stage('HW tests') { | ||
when { | ||
expression { !env.GH_LABEL_DOC_ONLY.toBoolean() } | ||
} | ||
agent { | ||
label 'xvf3800' // We have plenty of these (6) and they have a single XTAG connected | ||
} | ||
|
@@ -115,4 +144,4 @@ pipeline { | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird change... but ok