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

Publish binaries to github releases #151

Open
Rigellute opened this issue Jul 21, 2023 · 8 comments
Open

Publish binaries to github releases #151

Rigellute opened this issue Jul 21, 2023 · 8 comments

Comments

@Rigellute
Copy link

Thank you for this tool!

Are you interested in publishing prebuilt binaries to github releases? If so, I could potentially help setup the github actions to build binaries when you push a git tag.

@Stargateur
Copy link
Contributor

that doesn't look very useful for a tool that should be installed with cargo anyway.

@Canop
Copy link
Owner

Canop commented Jul 21, 2023

Bacon is one of the few programs for which I don't provide binaries, because any potential user has a rust compiler and is more at ease with using cargo install than downloading binaries.

I'll reconsider if some user tells me he would need precompiled binaries and explains why.

@Rigellute
Copy link
Author

My use-case is that I mostly use cargo binstall these days to avoid building from source or manually installing binaries. But totally understand if it's not a priority for this project.

@Canop
Copy link
Owner

Canop commented Jul 21, 2023

@Rigellute This makes sense. I didn't knew binstall.

@Canop
Copy link
Owner

Canop commented Jul 21, 2023

Is there a free solution for generating mac binaries in github actions ?

@Stargateur
Copy link
Contributor

open source project can run github action on mac for free, I don't know any limit but I guess github set some, so I expect you could just compile it using a mac os in the github action. For private reposition there is this doc https://docs.github.com/en/billing/managing-billing-for-github-actions/managing-your-spending-limit-for-github-actions about minute count but as I said it should be fine for public repo as long as it's fair use.

@Rigellute
Copy link
Author

Yes, github actions will be free for this project.

If you want to try this yourself, I recommend using cargo-dist, which massively streamlines all the steps of providing prebuilt binaries for a rust project

@Canop
Copy link
Owner

Canop commented Sep 15, 2023

A problem I have with pushing tags to create binaries in GitHub is that it gets messy, like many GitHub actions, because you push the tag, wait half an hour for it to be finished, see that it failed, try some changes at random, etc.

And I know by experience that cross compiling fails a lot, especially in Rust.

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

No branches or pull requests

3 participants