From 3ef438dc1dc4767aa9df6300a082a956daaf0a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Wed, 21 Oct 2026 11:02:15 +0200 Subject: [PATCH] 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 --- .github/workflows/zephyr.yml | 8 +------- app/sample.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 app/sample.yaml diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 051bf6e..53401f4 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -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: | diff --git a/app/sample.yaml b/app/sample.yaml new file mode 100644 index 0000000..93ba4e1 --- /dev/null +++ b/app/sample.yaml @@ -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