-
Notifications
You must be signed in to change notification settings - Fork 513
Add Linux Build Github Action #2979
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
base: development
Are you sure you want to change the base?
Conversation
@mserajnik Can you review this since you've worked on the workflows before? |
@ratkosrb Sure, I'll have a closer look later today. |
The workflow as such seems fine, here is a link to the resulting artifact from a test run I did on my fork.
Static linking would address both of these issues, but I am not sure how feasible this is; I frankly don't have any experience with static linking on Linux. I think a better approach for Linux would be to offer an AppImage Ultimately, it would of course be easiest to just leave the distribution for Linux to the distros/distro communities. E.g., for Arch there is this AUR package. |
Thanks for the review. Here is my reasoning behind adding Linux binaries to the releases, I just want a centralised method to obtain the vmangos binaries without the need to compile or rely on third party sources. I would run the binaries using docker, something like:
Maybe its too niche but it would be usefull for me to quickly setup a disposable dev environment (I only do SQL work). |
Also I looked into creating standalone binaries using static linking but it is way beyond me. |
Shameless plug: Maybe my Docker setup might be useful for this. You’d still be relying on a third party, but I plan to keep on maintaining it indefinitely. Other than that, I don’t think there’s a downside to adding this workflow; but maybe the limitations of these builds should be documented somewhere so Linux users don’t just assume the binaries will work on their system without any extra work on their end. |
Nice work with vmangos-deploy, I just like the guarantee that having the binaries attached to the main repo will result in them always being up to date. |
🍰 Pullrequest
Add linux build to github actions. I have very limited knowledge in this area so this will need reviewing to make sure it is correct.