-
Notifications
You must be signed in to change notification settings - Fork 163
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
Automatically build binaries for Popular Linux archs #253
Conversation
This looks good. |
@iegomez Can you give me a hint to when you might be planning the next release? Just need to decide if I need to build/ship my own builds with the next @flowforge release or if I can just point over here. Thanks. |
I can release right now with a target of Let me know. |
That would be great. Our next release is next week, but need to write the docs and test. |
Ok, you got it. |
There's a problem with the integration for building: https://github.com/iegomez/mosquitto-go-auth/actions/runs/3677500924 If you can't see that, it's basically this:
I'm terribly busy these next few days, so sorry if I can't give it a look soon. |
I'll have a play on my fork and see if I can work out what went wrong. It was just the last step of adding the zips to release, everything else appears to have worked properly. |
You may want to delete the release and tag so we can re-run it cleanly later. |
Yeah, I'm guessing that this may need some secret set in order to have access to publish to the release:
Something similar to what's done in the Docker publishing workflow:
|
Already did. |
Hi, don't suppose you have time to look at this again? I had a look at my local fork an I don't have any secrets defined for the action to use, the only thing I can think of is that under the project settings -> code and automation -> actions -> general at the bottom I have Workflow Permissions set to Read and Write permissions. |
I'm currently on vacation and coming back on Feb 6 or 7, I can take a look then. |
Ooph, I clearly failed to check on this and only remembered cause Dependabot's auto PRs failed to build Docker images (and that was a couple of weeks ago too, sigh). |
@hardillb I'm glad to announce that after a couple of tweaks I got the binaries release working. I'll go ahead and properly release now. Cheers! |
This GH action uses the golang docker container to build the library for the following platforms:
Once built it adds them to the release as zip files
Links against version 2.0.15 of mosquitto but it's an env var at the top of the action so easily updated.
I couldn't get x86 to build nicely but less people are using that now and MacOS will take more work but I might see if I can get it going for a follow up PR.
fixes #162
part of FlowFuse/installer#53