Skip to content

Commit

Permalink
Merge pull request #149 from analogdevicesinc/ad9208_jenkins_update
Browse files Browse the repository at this point in the history
  • Loading branch information
tfcollins authored Aug 18, 2023
2 parents 5a87f47 + 14a5471 commit 3e4d05d
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ stage("Build Toolbox") {

/////////////////////////////////////////////////////

boardNames = ['daq2','ad9081','ad9434','ad9739a','ad9265', 'fmcjesdadc1','ad9783','ad9208']
boardNames = ['daq2','ad9081','ad9434','ad9739a','ad9265', 'fmcjesdadc1','ad9783']
dockerConfig.add("-e HDLBRANCH=hdl_2021_r2")

cstage("HDL Tests", "", flags) {
Expand All @@ -64,6 +64,32 @@ cstage("HDL Tests", "", flags) {

/////////////////////////////////////////////////////

def deployments = [:];
def board = 'ad9208';
def nodeLabel = 'baremetal && high_memory';
deployments[board] = { node(nodeLabel) {
cstage("Baremetal HDL Test", "", flags) {
withEnv(['BOARD='+board,'MLRELEASE=R2022b','HDLBRANCH=hdl_2021_r2','LC_ALL=C.UTF-8','LANG=C.UTF-8']) {
try {
cstage("AD9208 HDL Test", "", flags) {
echo "Node: ${env.NODE_NAME}"
unstash "builtSources"
sh 'make -C ./CI/scripts test'
junit testResults: 'test/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: 'test/logs/*', followSymlinks: false, allowEmptyArchive: true
}
}
finally {
cleanWs();
}
}
}
}}

parallel deployments

/////////////////////////////////////////////////////

boardNames = ['NonHW']

cstage("NonHW Tests", "", flags) {
Expand Down

0 comments on commit 3e4d05d

Please sign in to comment.