File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,10 +65,20 @@ def testStage(os) {
6565 }
6666
6767 return {
68- stage(" Build & Test" ) {
68+ stage(" Build & Test (Debug) " ) {
6969 try {
7070 def threads = getNumThreads()
71- sh " deploy/build.py -j${ threads} --os=${ os} --build --test -DCMAKE_BUILD_TYPE=Debug --output-junit ${ extraArgs} "
71+ sh " deploy/build.py -j${ threads} --os=${ os} -DCMAKE_BUILD_TYPE=Debug --build --test --output-junit ${ extraArgs} "
72+ }
73+ finally {
74+ junit skipPublishingChecks : true , testResults : " workspace-${ os} /mdsplus-junit.xml" , keepLongStdio : true
75+ }
76+ }
77+
78+ stage(" Build & Test (Release)" ) {
79+ try {
80+ def threads = getNumThreads()
81+ sh " deploy/build.py -j${ threads} --os=${ os} -DCMAKE_BUILD_TYPE=RelWithDebInfo --build --test --output-junit --junit-suite-name '${ os} -release' ${ extraArgs} "
7282 }
7383 finally {
7484 junit skipPublishingChecks : true , testResults : " workspace-${ os} /mdsplus-junit.xml" , keepLongStdio : true
@@ -81,7 +91,7 @@ def packageStage(os) {
8191 return {
8292 stage(" Build & Package" ) {
8393 def threads = getNumThreads()
84- sh " deploy/build.py -j${ threads} --os=${ os} -- build --package --verify-packages -DCMAKE_BUILD_TYPE=Release "
94+ sh " deploy/build.py -j${ threads} --os=${ os} -DCMAKE_BUILD_TYPE=Release -- build --package --verify-packages"
8595 dir(" workspace-${ os} " ) {
8696 stash name : " packages-${ os} " , includes : " packages/**/*"
8797 stash name : " dist-${ os} " , includes : " mdsplus-publish.json,dist/**/*"
You can’t perform that action at this time.
0 commit comments