File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change
1
+
1
2
// List of targets to compile
2
3
def targets = [
3
4
// "LPC1768",
@@ -8,19 +9,21 @@ def targets = [
8
9
9
10
// Map toolchains to compiler labels on Jenkins
10
11
def toolchains = [
11
- // ARM: "armcc",
12
+ ARM : " armcc" ,
12
13
// IAR: "iar_arm",
13
14
GCC_ARM : " arm-none-eabi-gcc"
14
15
]
15
16
16
17
// Create a map of predefined build steps
17
- stage " generate build steps for parallel execution"
18
18
def parallelSteps = mbed. createParalleSteps(" mbed-os" , targets, toolchains)
19
19
20
20
// Run build steps parallel, map as paramater
21
- stage " build all targets"
22
21
mbed. compile(parallelSteps)
23
22
24
- // Run testapps, mbed-os commit hash or master as parameter
25
- stage " run mbed-os testapps"
26
- mbed. runTestApps(" ${ env.GIT_REVISION} " )
23
+ def testApps = [
24
+ " mbed-os-cliapp" ,
25
+ " mbed-client-testapp"
26
+ ]
27
+
28
+ // buildTestApps accepts array of test application names and a mbed-os commit hash as parameters
29
+ mbed. buildTestApps(testApps, " ${ env.GIT_REVISION} " )
You can’t perform that action at this time.
0 commit comments