bootloader ci (#1189)
* bootloader ci
* trailing slash
* Revert "progress?"
This reverts commit 6085bee005
.
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
6085bee005
commit
a617cb30a5
|
@ -0,0 +1,28 @@
|
|||
name: Bootloader CI
|
||||
|
||||
on: [push,pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path
|
||||
- name: Download & Install GCC
|
||||
run: | # Compiler hosted on our other git repo - avoids having to download from the nice folks at ARM every time
|
||||
wget 'https://github.com/rusefi/build_support/raw/master/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.xz' -O compiler.tar.xz
|
||||
tar -xvf compiler.tar.xz
|
||||
echo "::add-path::`pwd`/gcc-arm-none-eabi-9-2019-q4-major/bin"
|
||||
|
||||
# Make sure the compiler we just downloaded works - just print out the version
|
||||
- name: Test Compiler
|
||||
run: arm-none-eabi-gcc -v
|
||||
|
||||
# Build the bootloader!
|
||||
- name: Build Bootloader
|
||||
working-directory: ./firmware/bootloader/
|
||||
run: make -j4 -f src/Makefile EXTRA_PARAMS="-DEFI_BOOTLOADER -DSTM32F405xx -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DBOARD_TLE8888_COUNT=0 -DBOARD_TLE6240_COUNT=0 -DBOARD_MC33972_COUNT=0"
|
|
@ -169,6 +169,7 @@ CSRC = $(STARTUPSRC) \
|
|||
CPPSRC = $(CHCPPSRC) \
|
||||
$(DEV_SRC_CPP) \
|
||||
$(BOARDSRC_CPP) \
|
||||
$(HW_LAYER_EMS_CPP) \
|
||||
$(HW_SENSORS_SRC) \
|
||||
$(TUNERSTUDIO_SRC_CPP) \
|
||||
$(CONSOLE_SRC_CPP) \
|
||||
|
|
Loading…
Reference in New Issue