...
 
Commits (3)
image: alpine
stages:
- build
- deploy
.build-firmware:
stage: build
image: exmachinasas/mbed-gcc-arm:$GCC_ARM_VERSION
variables:
GIT_SUBMODULE_STRATEGY: "normal"
tags:
- linux
script:
- cd src/
- make
- cd ../
- mv src/bootloader.bin ./
artifacts:
paths:
- bootloader.bin
build:v6:
extends: .build-firmware
variables:
GCC_ARM_VERSION: "v6.0"
build:v7:
extends: .build-firmware
variables:
GCC_ARM_VERSION: "v7.0"
[submodule "src/CDL"]
path = src/CDL
url = git@gitlab.nuken.exm:fw-tools/NXP-CDL.git
url = https://gitlab.exmachina.fr/fw-tools/NXP-CDL.git
[submodule "src/lpcusb"]
path = src/lpcusb
url = https://github.com/openxc/lpcusb.git
[submodule "tools/nxp-flasher"]
path = tools/nxp-flasher
url = git@gitlab.nuken.exm:fw-tools/nxp-flasher.git
url = https://gitlab.exmachina.fr/fw-tools/nxp-flasher.git