Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .arcconfig

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/application-note-not-compliant.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/example-not-compliant.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-application-note.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-c-api.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/missing-xcore-test.md

This file was deleted.

16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/test-not-compliant.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/top-level-readme-not-compliant.md

This file was deleted.

57 changes: 42 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,46 @@
**.build*/*
**/bin/*
*.o
*.xe
# Tmp files & logs
*.settings
*.bin
*.zip
*.log
*.vcd
*.s
*.swp
*.*~
*.xmt
*.swo
*.swn
*~
*.DS_Store

# Python
*.pyc
**/*.egg-info/
**/.venv*/
*.python-version

# XMOS temp files
**/*build*/*
**/bin/*
**/flash_bin_node*
**/fw-*
**/s2l-*
**/spanning-xn-*
**/target-xn*
*.xi
*.o
*.i
*.a
**/_build/*
lib_lcd/doc/rst/_build/*
**/run_*.log
**/pdf/*
**/html/*
Installs/*
.settings*
examples/lcd_demo/.build*/*
*.swp
examples/sdram_demo/.build*
*.d
*.decouple
*.pca.xml
**/CMakeFiles/*

# XMOS binaries
*.xe

# Built documentation
doc/_build/pdf/*.pdf
**/doc/pdf/*.pdf

# Editor
*.vscode
9 changes: 7 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
SDRAM library change log
========================
lib_sdram change log
====================

3.4.0
-----

* Update to xcommon_cmake and purge old build system files

3.3.0
-----
Expand Down
123 changes: 123 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
// This file relates to internal XMOS infrastructure and should be ignored by external users

@Library('xmos_jenkins_shared_library@v0.43.3') _

getApproval()
pipeline {

agent none

parameters {
string(
name: 'TOOLS_VERSION',
defaultValue: '15.3.1',
description: 'XTC tools version'
)
string(
name: 'XMOSDOC_VERSION',
defaultValue: 'v8.0.0',
description: 'xmosdoc version'
)
string(
name: 'INFR_APPS_VERSION',
defaultValue: 'v3.1.1',
description: 'The infr_apps version'
)
choice(
name: 'TEST_LEVEL', choices: ['smoke', 'default', 'extended'],
description: 'The level of test coverage to run'
)
}

options {
skipDefaultCheckout()
timestamps()
buildDiscarder(xmosDiscardBuildSettings(onlyArtifacts = false))
}

stages {
stage('🏗️ Build and test') {
agent {
label 'x86_64 && linux && documentation'
}

stages {
stage('Checkout') {
steps {

println "Stage running on ${env.NODE_NAME}"

script {
def (server, user, repo) = extractFromScmUrl()
env.REPO_NAME = repo
}

dir(REPO_NAME){
checkoutScmShallow()
}
}
}

stage('Examples build') {
steps {
dir("${REPO_NAME}/examples") {
xcoreBuild()
}
}
}

stage('Repo checks') {
steps {
warnError("Repo checks failed")
{
runRepoChecks("${WORKSPACE}/${REPO_NAME}")
}
}
}

stage('Doc build') {
steps {
dir(REPO_NAME) {
buildDocs()
}
}
}

stage('Tests') {
steps {
dir("${REPO_NAME}/tests") {
withTools(params.TOOLS_VERSION) {
createVenv(reqFile: "requirements.txt")
withVenv {
xcoreBuild(archiveBins: false)
// Use the TEST_LEVEL parameter to control the test coverage
runPytest("--level=${params.TEST_LEVEL}")
}
}
}
}
}

stage("Archive sandbox") {
steps {
archiveSandbox(REPO_NAME)
}
}
} // stages
post {
cleanup {
xcoreCleanSandbox()
}
}
} // stage 'Build and test'

stage('🚀 Release') {
when {
expression { triggerRelease.isReleasable() }
}
steps {
triggerRelease()
}
}
} // stages
} // pipeline
Loading