Skip to content

ci: add BDShot compile test + standardize workflow shape#2

Merged
cinderblock merged 1 commit into
masterfrom
ci-bdshot-test-and-standardize-2026-05-26
May 26, 2026
Merged

ci: add BDShot compile test + standardize workflow shape#2
cinderblock merged 1 commit into
masterfrom
ci-bdshot-test-and-standardize-2026-05-26

Conversation

@cinderblock
Copy link
Copy Markdown
Owner

Summary

Goal 5 — Adds `tests/bdshot_compile_test.cpp` that exercises BDShot.cpp via its intended user-facing pattern (`#include <AVR++/BDShot.cpp>` + explicit `template class` instantiation, per the README). `BDShotConfig::Debug::Pin` defaults to a dummy IOpin (Pin=8), so no stub config is required. The previous CI skip-note ("needs user config") was technically wrong — the actual reason BDShot.cpp can't compile standalone is that it's not a translation unit, it's an include-only .cpp; comment fixed.

Goal 6 — Workflow standardization: adds `make` to the apt-install line and `make --version` to the toolchain-versions step so AVR matches the other firmware repos' CI shape, even though AVR doesn't use uMaker for its own builds.

Test plan

  • All existing per-cpp compile checks still pass
  • Aggregate-headers test still compiles
  • New BDShot test compiles (proves BDShot.cpp can be consumed via the documented pattern)

🤖 Generated with Claude Code

Goal 5 (BDShot in CI): adds tests/bdshot_compile_test.cpp that exercises
BDShot.cpp the way the README documents — `#include <AVR++/BDShot.cpp>`
plus an explicit `template class` instantiation. BDShotConfig::Debug::Pin
defaults to a dummy IOpin (Pin=8), so no stub config is required.
Previous CI skip-note ("needs user config") was wrong — the actual reason
BDShot.cpp can't compile standalone is that it's not a translation unit,
it's an include-only .cpp; comment fixed.

Goal 6 (workflow standardization): adds `make` to the apt-install line
and `make --version` to the toolchain-versions step so AVR matches the
other firmware repos' CI shape, even though AVR doesn't use uMaker for
its own builds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cinderblock cinderblock merged commit 55b3a4c into master May 26, 2026
1 check passed
@cinderblock cinderblock deleted the ci-bdshot-test-and-standardize-2026-05-26 branch May 26, 2026 22:09
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