LGTM configuration file (#1148)

* Adding LGTM config file

* LGTM update
This commit is contained in:
Fabien Poussin 2020-02-18 14:10:37 +01:00 committed by GitHub
parent ca1d44ae2c
commit 269050d197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
lgtm.yml Normal file
View File

@ -0,0 +1,12 @@
extraction:
cpp:
after_prepare:
- "export GCC=gcc-arm-none-eabi-9-2019-q4-major"
- "wget https://github.com/rusefi/build_support/raw/master/${GCC}-x86_64-linux.tar.xz -O compiler.tar.xz"
- "tar xf compiler.tar.xz -C ${LGTM_WORKSPACE}"
- "mv ${LGTM_WORKSPACE}/${GCC} ${LGTM_WORKSPACE}/gcc-arm"
index:
build_command:
- "export PATH=${LGTM_WORKSPACE}/gcc-arm/bin:${PATH}"
- "cd firmware"
- "make -j $(nproc) PROJECT_BOARD=microrusefi PROJECT_CPU=ARCH_STM32F4"