Skip to content

add github actions workflow for builds#98

Open
jerrysl wants to merge 1 commit intoPhobGCC:mainfrom
jerrysl:build-actions
Open

add github actions workflow for builds#98
jerrysl wants to merge 1 commit intoPhobGCC:mainfrom
jerrysl:build-actions

Conversation

@jerrysl
Copy link
Copy Markdown

@jerrysl jerrysl commented Oct 20, 2023

This GitHub Actions workflow will build the source for each of the #include options in common/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 .hex or .uf2 files. 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 main branch. 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:
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant