Skip to content

ci: build every env on push and pull requests - #201

Merged
Keralots merged 2 commits into
mainfrom
ci/build-workflow
Nov 1, 2026
Merged

Keralots merged 2 commits into
mainfrom
ci/build-workflow

Conversation

@Keralots

@Keralots Keralots commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions build check. Read-only (contents: read): it publishes nothing and does not touch releases, Pages or the web flasher.

What runs

  • checks: node --check web/app.js, error tables vs the portal mirror (release.check_error_tables()), and the env list parsed from platformio.ini + boards/*.ini (new boards join automatically).
  • build: one job per env (fail-fast: false), PlatformIO pinned to 6.1.19, shared package cache, then tools/ci_slot_check.py: a release-set board over its app slot fails the job, any other env only warns (diy_round240 is over its slot and not shipped). firmware.bin kept as an artifact for 14 days.

Triggers: push to main, pull requests, manual. Changes that only touch *.md, docs/, img/ or the Companion Tool are skipped.

To check on the first run

  • sensecap_indicator (URL-zip framework fork) builds on Linux.
  • Image sizes match the local v3.9.1 table.

Matrix over all envs in platformio.ini and boards/*.ini, with the release
set's app-slot check, the portal script syntax check and the error-table
check. firmware.bin is kept as an artifact for 14 days.
A version range resolves to whatever is newest on a fresh install, so a
clean checkout (or CI) built a different LovyanGFX than an older local
.pio/libdeps, and v3.9.1 shipped a mix of 1.2.25, 1.2.28 and 1.2.30.
Pin LovyanGFX 1.2.36 and the current ArduinoJson, PubSubClient, GFX
Library and XPT2046 versions so every build of a commit is the same.
@Keralots
Keralots marked this pull request as ready for review November 1, 2026 22:20
@Keralots
Keralots merged commit 35ea068 into main Nov 1, 2026
23 checks passed
@Keralots
Keralots deleted the ci/build-workflow branch November 1, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant