adding LGTM config file

This commit is contained in:
Fabien Poussin 2020-11-25 10:41:04 +01:00
parent 97da49e759
commit b3ced78c6f
No known key found for this signature in database
GPG Key ID: 6166CABA99FC385C
1 changed files with 15 additions and 0 deletions

15
lgtml.yml Normal file
View File

@ -0,0 +1,15 @@
extraction:
cpp:
after_prepare:
- export GCC=gcc-arm-none-eabi-9-2020-q2-update
- 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
- git clone https://github.com/ChibiOS/ChibiOS.git --branch stable_20.3.x ${LGTM_WORKSPACE}/ChibiOS
index:
build_command:
- export PATH=${LGTM_WORKSPACE}/gcc-arm/bin:${PATH}
- export CH_PATH=${LGTM_WORKSPACE}/ChibiOS
- export CHC_PATH=${LGTM_SRC}
- ./tools/chbuild.sh testhal/{STM32,NRF51,NRF52,KINETIS}
- ./tools/chbuild.sh demos/{STM32,NRF51,NRF52,KINETIS}