-
Notifications
You must be signed in to change notification settings - Fork 2
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
release binary #6
Comments
Thanks for your feedback! It sounds nice, and I'm also interested in why you require the precompiled binary. Perhaps the potential users of the tool have a development environment for Haskell. Did you have any troubles with the build? Or just because the build process is boring? |
Oh I don't require it, just a suggestion :) I do have a Haskell dev env myself, but even so it's a rather high barrier of entry for a program that I is more of a "nice to have" than "need to have". For my own part, I prefer using nix with Haskell to avoid compiling so many dependencies, but then I needed to copy and modify a default.nix from one of my own projects (since I can't remember all the nixlang intricacies) and disable tests ( |
Okay, I got it. I will try it by GitHub Actions, manual, or anything else. |
@unhammer What do you think about releasing the tool not as a naked binary but as a container? To distribute binary executables, I need to tie the dependencies statically for each environment but;
|
A release.yml like unhammer/bin-your-stars@f65c7e7 (based on the one from stan) along with RW Workflow permissions gives Linux and macos binaries at least, looking like https://github.com/unhammer/bin-your-stars/releases/tag/v1.0.11 But yes, they're not statically linked (I've not looked into how to do that). Containers sounds a bit overkill to me, but if the osx dynamic binaries can't be distributed maybe it's the best option … |
Hmm, I'm afraid so, too. But anyway, I tried to build an image. https://github.com/y-taka-23/thank-you-stars/pkgs/container/thank-you-stars
|
@unhammer ping; If you are okay, I will document it on README.md and refine the CI. :) |
Sorry, big inbox here :) That docker command does work on my end, yes! Btw if you're editing README anyway, I had to |
This program could be useful for people who don't have the right haskell toolchain installed. It would make sense to put precompiled binaries in the Github release for those people (also haskellers who don't feel like waiting for the compilation).
It's possible to do it as github actions: https://vrom911.github.io/blog/github-actions-releases
The text was updated successfully, but these errors were encountered: