File tree 1 file changed +2
-31
lines changed
1 file changed +2
-31
lines changed Original file line number Diff line number Diff line change 1
-
2
- // List of targets to compile
3
- def targets = [
4
- // "LPC1768",
5
- // "NUCLEO_F401RE",
6
- // "NRF51822",
7
- " K64F"
8
- ]
9
-
10
- // Map toolchains to compiler labels on Jenkins
11
- def toolchains = [
12
- ARM : " armcc" ,
13
- // IAR: "iar_arm",
14
- GCC_ARM : " arm-none-eabi-gcc"
15
- ]
16
-
17
- // mbed.getCurrentBranch returns either local branch name or reference to pull request
18
- def currentBranch = mbed. getCurrentBranch()
19
-
20
- // Create a map of predefined build steps
21
- def parallelSteps = mbed. createParalleSteps(" mbed-os" , targets, toolchains)
22
-
23
- // Run build steps parallel, map as paramater
24
- mbed. compile(parallelSteps)
25
-
26
- def testApps = [
27
- " mbed-os-cliapp"
28
- ]
29
-
30
- // buildTestApps accepts array of test application names and a mbed-os branch or PR reference as parameters
31
- mbed. buildTestApps(testApps, " ${ currentBranch} " )
1
+ // Run test job in Jenkins
2
+ mbed. run_job()
You can’t perform that action at this time.
0 commit comments