mbed-os/Jenkinsfile

30 lines
662 B
Plaintext
Raw Normal View History

2016-08-08 06:49:57 +00:00
// List of targets to compile
2016-08-09 13:49:49 +00:00
def targets = [
2016-08-08 06:49:57 +00:00
//"LPC1768",
//"NUCLEO_F401RE",
//"NRF51822",
"K64F"
]
2016-08-09 13:49:49 +00:00
// Map toolchains to compiler labels on Jenkins
2016-08-08 06:49:57 +00:00
def toolchains = [
ARM: "armcc",
2016-08-08 06:49:57 +00:00
//IAR: "iar_arm",
GCC_ARM: "arm-none-eabi-gcc"
]
// Create a map of predefined build steps
def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)
2016-08-08 06:49:57 +00:00
// Run build steps parallel, map as paramater
2016-08-25 13:49:51 +00:00
mbed.compile(parallelSteps)
2016-08-08 06:49:57 +00:00
def testApps = [
"mbed-os-cliapp",
"mbed-client-testapp"
]
// buildTestApps accepts array of test application names and a mbed-os commit hash as parameters
mbed.buildTestApps(testApps, "${env.GIT_REVISION}")