Skip to content

Add CI build check - #5

Merged
potter4500 merged 3 commits into
mainfrom
state-machine
Sep 23, 2026
Merged

potter4500 merged 3 commits into
mainfrom
state-machine

Conversation

@PriyaMerrill

Copy link
Copy Markdown
Collaborator

Summary

Adds a GitHub Actions workflow (.github/workflows/build.yml) that runs the
real embedded build (ARM toolchain + this project's own cmake --preset Debug / cmake --build --preset Debug) on every push to main and every
pull request, so a broken build shows up as a failing check instead of
merging silently.

Also merges in the latest main (picking up the hardware_test branch's
FreeRTOS/file-structure changes) and updates Docs/state-machine-notes.md.

This PR itself is also the first real test of the new CI check.

26 tests total, covering every state's transitions: Idle (connection checks,
retry-timer countdown/wraparound), Ready (Charging/Running/Fault branches),
Running and Charging (stays-in-state vs Fault), and Fault (resets to Idle on
resetRequested, latches otherwise -- the test that actually proves the
shutdown circuit can't auto-clear).
@potter4500
potter4500 merged commit 293a9a0 into main Sep 23, 2026
1 check passed
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.

2 participants