OVVE / software-controller

Software for the Arduino Mega
Other
2 stars 7 forks source link

Create GitHub CI workflow for arduino code #27

Closed zmk5 closed 4 years ago

zmk5 commented 4 years ago

This code should attempt to download the arduino-cli onto an ubuntu 18.04 vm instance and compile the code to see if there are errors.

If this works properly, this CI can be used whenever a push or pull is made to the master or develop branches.

zmk5 commented 4 years ago

It works now! 😃 This CI framework is rather simplistic but we can add to it easily for extra functionality. For now whenever a pull request is initiated or a push is made to either develop or master, this GH Action will attempt to compile the code for an Arduino Mega board with an atmega2560 CPU. If an error is thrown up, we will know that something is wrong with the code.

zmk5 commented 4 years ago

Added the -v flag for compilation. If you go to the Actions tab at the top of this page and click the latest build you can see the verbose output for the code compilation.