Skip to content

Add support for MCUboot and enable it for BMS C1 #305

Add support for MCUboot and enable it for BMS C1

Add support for MCUboot and enable it for BMS C1 #305

Workflow file for this run

name: Code check and build tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: bms-firmware
fetch-depth: 0
- name: Initialize
working-directory: bms-firmware
run: |
west init -l .
west update --narrow
west blobs fetch hal_espressif
- name: Coding style check
working-directory: bms-firmware
run: |
apt-get update
apt-get install -y clang-format-15 colordiff
git status
bash scripts/check-style.sh
- name: Build firmware
working-directory: bms-firmware
run: |
cd app
west build -p -b native_sim
west build -p -b bms_5s50_sc
west build -p -b bms_8s50_ic@0.2 -- -DEXTRA_CONF_FILE=oled.conf -DSHIELD=uext_oled
west build -p -b bms_8s50_ic_f072
west build -p -b bms_15s80_sc
west build -p -b bms_16s100_sc
west build -p -b bms_16s100_sc_esp32c3@0.2
west build -p -b bms_c1@0.4
rm -rf build
west build -b bms_c1@0.4 --sysbuild -p
- name: Run unit-tests
working-directory: bms-firmware
run: |
../zephyr/scripts/twister -T ./tests --integration --inline-logs -n