zigbee_home icon indicating copy to clipboard operation
zigbee_home copied to clipboard

Setup CI to verify that all examples can be compiled to firmware

Open ffenix113 opened this issue 1 year ago • 1 comments

All examples that are present in the repo(as code, not a part of Docs or wiki pages) should be able to be compiled in some CI.

This would allow to guarantee that examples always have valid configuration and will build, providing a great experience.

Implementation should keep in mind that compiling the firmware can take ~a minute, and multiplied by a number of examples present.

ffenix113 avatar Mar 22 '24 09:03 ffenix113

Tried setting up free VM in Oracle cloud to build firmwares with nRF SDK docker image, as with more than a couple of examples this process could take couple(or even tenth) of minutes at least and I don't want it to starve build minutes of this repo. Oracle VM used ~70-80% of CPU for virtualization, leaving ~20-25% for the build process, which resulted in a couple of seconds per object when building(multiply by ~300 objects).

Oracle amd64 VM is no go for this.

ffenix113 avatar Apr 07 '24 17:04 ffenix113