Docs: Add section for DFU over CAN #308
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] -- -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 [email protected] | |
west build -p -b [email protected] | |
rm -rf build | |
west build -b [email protected] --sysbuild -p | |
- name: Run unit-tests | |
working-directory: bms-firmware | |
run: | | |
../zephyr/scripts/twister -T ./tests --integration --inline-logs -n |