adafruit / Wippersnapper_Protobuf

Protocol buffer messages for Adafruit.io WipperSnapper Beta
MIT License
0 stars 2 forks source link

Add a cross-workflow build for WipperSnapper firmware #121

Closed brentru closed 1 year ago

brentru commented 1 year ago

This pull request resolves and addresses the second bullet point in https://github.com/adafruit/Wippersnapper_Protobuf/issues/105:

We may want to try building the WipperSnapper Arduino firmware during protoc-wrapper-generation.yml. The firmware would need to be built with the new protocol buffers produced by this step. Currently, we only test that we can build the new protocol buffer files with nanopb, and checkout a PR on WipperSnapper Arduino. We've recently run into cases where the generated files do not compile in the WipperSnapper Arduino repo. This could be solved by requiring this repo's workflow to build the WS arduino firmware for one test hardware case.

tldr; PR adds new workflow, test-wrapper-arduino.yml to generate new proto wrapper files for all pull requests. Tests if WipperSnapper still builds.

Working example: