ChibiOS-Contrib/lgtm.yml

25 lines
995 B
YAML
Raw Permalink Normal View History

2020-11-25 01:41:04 -08:00
extraction:
cpp:
2020-11-25 03:55:32 -08:00
prepare:
packages:
- p7zip-full
2020-11-25 01:41:04 -08:00
after_prepare:
- export GCC=gcc-arm-none-eabi-9-2020-q2-update
2022-01-01 13:07:35 -08:00
- export CH_VER=master
2020-11-25 03:55:32 -08:00
- cd ${LGTM_WORKSPACE}
2020-11-25 01:41:04 -08:00
- 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
2020-11-25 03:55:32 -08:00
- 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
2020-11-25 03:55:32 -08:00
- cd ${LGTM_SRC}/ext
- for i in *.7z; do 7z x -y "$i"; done
2020-11-25 01:41:04 -08:00
index:
build_command:
- export PATH=${LGTM_WORKSPACE}/gcc-arm/bin:${PATH}
2020-11-25 03:55:32 -08:00
- export CH_PATH=${LGTM_WORKSPACE}/ChibiOS CHC_PATH=${LGTM_SRC}
2020-11-25 01:41:04 -08:00
- ./tools/chbuild.sh testhal/{STM32,NRF51,NRF52,KINETIS}
- ./tools/chbuild.sh demos/{STM32,NRF51,NRF52,KINETIS}