Skip to content

bq769x2: Fix alert_mask configuration write-back #338

bq769x2: Fix alert_mask configuration write-back

bq769x2: Fix alert_mask configuration write-back #338

Workflow file for this run

name: Code check and build tests
on: [push, pull_request]
jobs:
build:
# Avoid running twice if pushing to a PR branch in the base repo
if: >
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
# Fixed container version to avoid picolibc compile error for v0.26.15 (latest)
# https://github.com/zephyrproject-rtos/docker-image/issues/205
container: zephyrprojectrtos/ci:v0.26.14
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_15s80_sc
west build -p -b bms_16s100_sc
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