-
Notifications
You must be signed in to change notification settings - Fork 122
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
Static binary builds #40
Comments
Linux should be easy, but the question is how to create macOS releases without having access to Apple hardware... |
Came here for exact that reason :) Did you already find this one ? |
@Dod9er my computer is actually cross compiling different static linux binaries right now (using the rust-musl-cross docker image) 🙂 I will upload them as Github release later. Regarding cross-compilation for macOS, maybe it could be done through TravisCI, which offers macOS targets. |
I think yes, macOS is listed here (never tested as I´m on linux): https://github.com/japaric/trust |
Linux binary releases: https://github.com/dbrgn/tealdeer/releases/tag/v1.0.0 |
The script was updated to add a step that strips the binaries, making them considerably smaller (x86_64 is 44% smaller, arm is 47% smaller). I won't replace the binaries (releases should be immutable), but it would be nice to add an 1.0.1 release with macOS and Windows builds (maybe through Travis / Appveyor). |
Current version 1.0.0 is 13 commits above from master, It would be possible to generate a new one? |
@jdvr if you look at the commits, it's all README changes and configfiles 🙂 |
@dbrgn Next time I will check commits. sorry |
@jdvr no worries 🙂 |
Any chance for Windows binaries? |
@gd4c someone would need to set up a CI configuration that outputs x86_64 Windows binaries as build artifact. I only rarely use Windows myself, so it doesn't have high priority for me at the moment. However, things have gotten easier since we have switched to GitHub actions in the meantime. It probably wouldn't be too hard to create a Windows build artifact for every tagged release. |
That would be great! Thanks. |
@dbrgn @niklasmohrin this workflow (see gist) is what I use on my personal projects to release OSX, Windows, and Linux static binaries. Maybe this could be useful here |
@dmaahs2017 Although I would rather not use any actions from authors other than |
Fixed by #240. Binaries for macOS and Windows are now provided as well. |
Create binary releases for people without Rust / Cargo.
The text was updated successfully, but these errors were encountered: