BBR 1 Ebene

Committer:
borlanic
Date:
Mon May 14 11:29:06 2018 +0000
Revision:
0:fbdae7e6d805
BBR

Who changed what in which revision?

UserRevisionLine numberNew contents of line
borlanic 0:fbdae7e6d805 1
borlanic 0:fbdae7e6d805 2 // List of targets to compile
borlanic 0:fbdae7e6d805 3 def targets = [
borlanic 0:fbdae7e6d805 4 //"LPC1768",
borlanic 0:fbdae7e6d805 5 //"NUCLEO_F401RE",
borlanic 0:fbdae7e6d805 6 //"NRF51822",
borlanic 0:fbdae7e6d805 7 "K64F"
borlanic 0:fbdae7e6d805 8 ]
borlanic 0:fbdae7e6d805 9
borlanic 0:fbdae7e6d805 10 // Map toolchains to compiler labels on Jenkins
borlanic 0:fbdae7e6d805 11 def toolchains = [
borlanic 0:fbdae7e6d805 12 ARM: "armcc",
borlanic 0:fbdae7e6d805 13 //IAR: "iar_arm",
borlanic 0:fbdae7e6d805 14 GCC_ARM: "arm-none-eabi-gcc"
borlanic 0:fbdae7e6d805 15 ]
borlanic 0:fbdae7e6d805 16
borlanic 0:fbdae7e6d805 17 // mbed.getCurrentBranch returns either local branch name or reference to pull request
borlanic 0:fbdae7e6d805 18 def currentBranch = mbed.getCurrentBranch()
borlanic 0:fbdae7e6d805 19
borlanic 0:fbdae7e6d805 20 // Create a map of predefined build steps
borlanic 0:fbdae7e6d805 21 def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)
borlanic 0:fbdae7e6d805 22
borlanic 0:fbdae7e6d805 23 // Run build steps parallel, map as paramater
borlanic 0:fbdae7e6d805 24 mbed.compile(parallelSteps)
borlanic 0:fbdae7e6d805 25
borlanic 0:fbdae7e6d805 26 def testApps = [
borlanic 0:fbdae7e6d805 27 "mbed-os-cliapp"
borlanic 0:fbdae7e6d805 28 ]
borlanic 0:fbdae7e6d805 29
borlanic 0:fbdae7e6d805 30 // buildTestApps accepts array of test application names and a mbed-os branch or PR reference as parameters
borlanic 0:fbdae7e6d805 31 mbed.buildTestApps(testApps, "${currentBranch}")