Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Projet_de_bachelor_code Projet_de_bachelor_code
Revision 49:699a601deb79, committed 2019-03-06
- Comitter:
- mbed_official
- Date:
- Wed Mar 06 13:02:08 2019 +0000
- Parent:
- 48:dfce67eca082
- Child:
- 50:5293a23c7ba9
- Commit message:
- Merge pull request #127 from ARMmbed/toolchain_update
ARM builds as ARMC6 now, simplified toolchains
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-lorawan
Changed in this revision
| Jenkinsfile | Show annotated file Show diff for this revision Revisions of this file |
--- a/Jenkinsfile Wed Feb 13 18:37:07 2019 +0000
+++ b/Jenkinsfile Wed Mar 06 13:02:08 2019 +0000
@@ -36,12 +36,11 @@
"MTB_RAK811"
]
-// Map toolchains to compilers
+// Supported toolchains
def toolchains = [
- ARM: "armcc",
- GCC_ARM: "arm-none-eabi-gcc",
- IAR: "iar_arm",
- ARMC6: "arm6"
+ "ARM",
+ "GCC_ARM",
+ "IAR"
]
def stepsForParallel = [:]
@@ -50,8 +49,7 @@
for (int i = 0; i < targets.size(); i++) {
for(int j = 0; j < toolchains.size(); j++) {
def target = targets.get(i)
- def toolchain = toolchains.keySet().asList().get(j)
- def compilerLabel = toolchains.get(toolchain)
+ def toolchain = toolchains.get(j)
// Skip unwanted combination
if (target == "MTB_MURATA_ABZ" && toolchain == "GCC_ARM") {
@@ -66,7 +64,7 @@
def stepName = "${target} ${toolchain}"
- stepsForParallel[stepName] = buildStep(target, compilerLabel, toolchain)
+ stepsForParallel[stepName] = buildStep(target, toolchain)
}
}
@@ -81,10 +79,10 @@
parallel stepsForRegional
}
-def buildStep(target, compilerLabel, toolchain) {
+def buildStep(target, toolchain) {
return {
- stage ("${target}_${compilerLabel}") {
- node ("${compilerLabel}") {
+ stage ("${target}_${toolchain}") {
+ node ("${toolchain}") {
deleteDir()
dir("mbed-os-example-lorawan") {
checkout scm
@@ -141,7 +139,7 @@
def build_regions(regions) {
return {
stage ("region_builder_K64F_GCC_ARM") {
- node ("arm-none-eabi-gcc") {
+ node ("GCC_ARM") {
deleteDir()
dir("mbed-os-example-lorawan") {
checkout scm