We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9111aa4 + 9a5c152 commit cc3a382Copy full SHA for cc3a382
Jenkinsfile
@@ -0,0 +1,26 @@
1
+// List of targets to compile
2
+def targets = [
3
+ //"LPC1768",
4
+ //"NUCLEO_F401RE",
5
+ //"NRF51822",
6
+ "K64F"
7
+ ]
8
+
9
+// Map toolchains to compiler labels on Jenkins
10
+def toolchains = [
11
+ //ARM: "armcc",
12
+ //IAR: "iar_arm",
13
+ GCC_ARM: "arm-none-eabi-gcc"
14
15
16
+// Create a map of predefined build steps
17
+stage "generate build steps for parallel execution"
18
+def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)
19
20
+// Run build steps parallel, map as paramater
21
+stage "build all targets"
22
+mbed.compile(parallelSteps)
23
24
+// Run testapps, mbed-os commit hash or master as parameter
25
+stage "run mbed-os testapps"
26
+mbed.runTestApps("${env.GIT_REVISION}")
0 commit comments