ci: build firmware for all boards and revisions with twister
Add a build-only twister scenario for the application covering all
boards including non-default revisions, which were not built in CI so
far (e.g. the build for mppt_2420_hc@0.1.0 was broken unnoticed).
Additional boards or revisions only need to be added to app/sample.yaml.
The firmware can be built for all boards locally with:
west twister -T app --integration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9b7cd34557
commit
3ef438dc1d
@@ -41,13 +41,7 @@ jobs:
|
||||
|
||||
- name: Build firmware
|
||||
run: |
|
||||
west build -b mppt_1210_hus app -p
|
||||
west build -b mppt_2420_hc app -p
|
||||
west build -b mppt_2420_hpx app -p
|
||||
west build -b mppt_2420_lc app -p
|
||||
west build -b mppt_2420_rc app -p
|
||||
west build -b nucleo_g474re app -p
|
||||
west build -b pwm_2420_lus app -p
|
||||
west twister -T app --integration --inline-logs
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
sample:
|
||||
name: Libre Solar charge controller firmware
|
||||
common:
|
||||
build_only: true
|
||||
tags:
|
||||
- charge_controller
|
||||
tests:
|
||||
charge_controller.firmware:
|
||||
platform_allow: &boards
|
||||
- mppt_1210_hus@0.4.0
|
||||
- mppt_1210_hus@0.7.0
|
||||
- mppt_2420_hc@0.1.0
|
||||
- mppt_2420_hc@0.2.0
|
||||
- mppt_2420_hpx
|
||||
- mppt_2420_lc
|
||||
- mppt_2420_rc
|
||||
- nucleo_g474re
|
||||
- pwm_2420_lus@0.2.0
|
||||
- pwm_2420_lus@0.3.0
|
||||
integration_platforms: *boards
|
||||
Reference in New Issue
Block a user