google / cyanobyte

Machine-readable datasheets
https://cyanobyte.dev
Apache License 2.0
80 stars 31 forks source link

Arduino integration testing #104

Closed Fleker closed 4 years ago

Fleker commented 4 years ago

Have a way to programmatically build and lint the project for Arduino / C++.

urish commented 4 years ago

Hi Nick, author of AVR8js here. First of all - thank you so much for creating this project! I've wanted to create something similar for a long time, and I truly wish this project will be successful.

Second, I'd love to help with the Arduino integration testing, if I can. Do you have anything specific in mind yet?

Fleker commented 4 years ago

Thanks for your feedback! :)

I'm not entirely sure what a good integration test for Arduino would look like. As part of the CI process, using Cloud Build, it has access to Arduino sample data. I want to ensure the quality does not change through various iterations of the Arduino template. For the Raspberry Pi I run a linter. For Arduino having a linter or some way to build the code will help me catch potential issues early.

urish commented 4 years ago

Sure, I will have a stab at that. I'm not familiar with Cloud Build, but it seems to be based on docker, so I will try to set up a container which builds the code for Arduino and gives you the desired feedback.

Can you please assign me to this issue?