forked from ChibiOS/ChibiOS-Contrib
-
Notifications
You must be signed in to change notification settings - Fork 23
/
lgtm.yml
24 lines (24 loc) · 995 Bytes
/
lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
extraction:
cpp:
prepare:
packages:
- p7zip-full
after_prepare:
- export GCC=gcc-arm-none-eabi-9-2020-q2-update
- export CH_VER=master
- cd ${LGTM_WORKSPACE}
- wget -nv https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -O compiler.tar.xz
- tar xf compiler.tar.xz -C ${LGTM_WORKSPACE}
- mv ${LGTM_WORKSPACE}/${GCC} ${LGTM_WORKSPACE}/gcc-arm
- curl -L https://github.com/ChibiOS/ChibiOS/archive/${CH_VER}.tar.gz | tar xz
- mv ChibiOS-${CH_VER} ChibiOS
- cd ChibiOS/ext
- for i in *.7z; do 7z x -y "$i"; done
- cd ${LGTM_SRC}/ext
- for i in *.7z; do 7z x -y "$i"; done
index:
build_command:
- export PATH=${LGTM_WORKSPACE}/gcc-arm/bin:${PATH}
- export CH_PATH=${LGTM_WORKSPACE}/ChibiOS CHC_PATH=${LGTM_SRC}
- ./tools/chbuild.sh testhal/{STM32,NRF51,NRF52,KINETIS}
- ./tools/chbuild.sh demos/{STM32,NRF51,NRF52,KINETIS}