Skip to content

Commit

Permalink
Merge pull request ARMmbed#22 from marcuschangarm/fix-ci
Browse files Browse the repository at this point in the history
Remove wrapper file in CI
  • Loading branch information
marcuschangarm authored Apr 17, 2019
2 parents b0e56ba + 63b3ccf commit 3bda531
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,14 @@ def buildStep(target, compilerLabel, toolchain) {
// checkout PR.
checkout scm

// remove wrapper file so we don't compare minimal-printf with itself.
sh "rm ./mbed_printf_wrapper.c"

// checkout newest Mbed OS release.
sh "mbed new ."

if (toolchain == "GCC_ARM") {
// use custom release profile from minimal-printf to override functions in GCC.
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10 --profile ./profiles/release.json"
} else {
// use default release profile for ARM and IAR.
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10"
}
// use default release profile for ARM and IAR.
sh "mbed test -vv --compile -m ${target} -t ${toolchain} -n '*minimal-printf*' --build ci --stats-depth 10"

// stash build directory for testins step.
stash name: "minimal-printf-greentea-${target}-${toolchain}", includes: "ci/**"
Expand Down

0 comments on commit 3bda531

Please sign in to comment.