Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions make fw #10

Open
modulove opened this issue Apr 26, 2024 · 3 comments
Open

GitHub Actions make fw #10

modulove opened this issue Apr 26, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@modulove
Copy link
Owner

We should finally make the move to github actions building the fw variants.
The firmware needs be compiled & uploaded manually all the time which is time consuming and error prone.

@modulove modulove added enhancement New feature or request help wanted Extra attention is needed labels Apr 26, 2024
@awonak
Copy link
Collaborator

awonak commented Apr 27, 2024

I have applied this technique to my repository, here is how it works:

I'm my repository I use GitHub Actions to compile each of my firmwares with as set of 3 different flags to build binaries for each of the common Arduino Nano clones.

This action is triggered when a new tag is pushed with the semantic version pattern, like "vX.Y.Z". After the binaries are created, a new GitHub release is added and all of the firmware binaries are attached to the release.

https://github.com/awonak/HagiwoModulove/blob/main/.github/workflows/build_release.yml

The one unknown I have is how to automatically attach the new binary versions with your web based firmware uploader page. The best solution I can think of would be to update the arduino-web-uploader code to support serving binaries directly from the GitHub releases "latest" page. Otherwise they will likely need to be manually copied to the web uploader site.

@modulove
Copy link
Owner Author

I think we move to github Page and I will give it a try to make it work after the current changes went into main. This will need to wait until superbooth is over i guess.

@modulove
Copy link
Owner Author

modulove commented May 8, 2024

Got this started here: https://github.com/modulove/modulove.github.io/blob/main/.github/workflows/build_release.yml
The hugo page and making a beta release available for testers, will take some time still .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants