Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This GitHub Actions workflow will build the source for each of the
#includeoptions incommon/phobGCC.h. The purpose would be to verify that code changes build successfully on all the available boards. As it stands, this workflow does not save build artifacts like.hexor.uf2files. But such a feature could be added by leveraging GitHub Packages.As it's currently designed, the workflow would be triggered by pushes or PRs to the
mainbranch. Merging wouldn't be contingent on successful builds; that would have to be configured in the repo settings. If it's running too frequently or not when you want, the triggers can be modified as needed.I understand that this probably isn't all that useful for PhobGCC since build failures on specific board configs are rare or nonexistent. It was mainly a personal project for me to dabble in GitHub Actions. Feel free to take it or leave it :)
Here's an example of how the workflow looks when it's done:

Side Note: I skipped the PicoProtoboard.h build, but it can easily be included if wanted.