From 269050d19733d34970220f0e93b18a7069e2361a Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Tue, 18 Feb 2020 14:10:37 +0100 Subject: [PATCH] LGTM configuration file (#1148) * Adding LGTM config file * LGTM update --- lgtm.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lgtm.yml diff --git a/lgtm.yml b/lgtm.yml new file mode 100644 index 0000000000..d3b73bf454 --- /dev/null +++ b/lgtm.yml @@ -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"