-
Notifications
You must be signed in to change notification settings - Fork 3
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
DEPLOY: About releases... #38
Comments
Hi, thank you. I was just watching and reading about dbin before, when I noticed your follow, liking it's minimalistic static approach. I just now saw what leve of "static" you are talking about. I have no experience with Musl. I read just now about it. How did you try to build rye-fyne with musl and how did it fail? Please provide some more information so I can try to find a solution. Did you also try building just normal rye, without fyne? I was just adding automatic builds with github workflows. You can see the latest result here: https://github.com/refaktor/rye-fyne/releases/tag/26 I'm not sure if you meant something like these , let me know. |
Hi, sorry for the late response
Yes, it builds statically, and it works well, just like most Go programs, no issues on that front
I don't think it has to do with Musl, (the failure I mean), I was not able to build |
UPDATE: I was able to build it on Alpine Btw, using a Musl system as the host that builds Rye, either Rye or Rye-fyne would result in much smaller binaries. |
The problem with your initial build was that it expected rye in a neighboring folder. I commented the temporary replace line in go.mod and it should work now. I changed it to local/relative folder when I was making a rye-fyne android app demo this weekend. I will have to educate myself more on this ... I'm not sure what is dwfs.AppBundle ... google didn't really help. I see AppImages but I also will need to do some reading. I will look into building it on Musl based system. Are you able to statically build Fyne's hello world program (without rye)? |
heh, its my own format, it can be found at github.com/xplshn/pelf, I was so frustrated by the AppImage ecosystem that I wound up making my own format, tho converting AppImages to AppBundles is a matter of just decompressing the AppImage and using
No, I realized that For now, I've made a basic AppDir of rye-fyne, which should work in both glibc and musl. I'll package it as an AppBundle and provide a link for it if you'd like to take a look. |
Here it is, just do If you'd like to inspect the AppBundle, the |
I downloaded it gunzipped and it ran. I haven't yet delved deeper. So something like rye-fyne would be more portable in this format. I read a little about appImage, I will more. So you think the build process that you made could be automated via a github workflow? |
Yeah, absolutely, I can provide a script that does this for you if you want :) |
I made a script that uses an alpine container to build rye & rye-fyne, it then packs rye-fyne into a dwfs.AppBundle You can read the gen.sh script, which starts the build process, the initial script (gen.sh) creates an Alpine container, and it then enters the container to start the actual build process (Rye_multibuild.sh) NOTEs: The generated ./rye-fyne will run on Musl-only, but the ./ryeFyne.dwfs.AppBundle should work on all systems |
Wow, thanks a lot! I will try to integrate these into git workflows and generate additional binaries / appbundles. Thank you! |
I expect great things from this project! Keep up the good work! And feel free to reach out to me if you want me to write more of these for other rye-related tools and repos, such as the rye-gio one, once that is more stable :) |
Hi! Awesome project, been wanting to test this but I was not able to build the fyne-binded
rye
for Musl... It'd be great if releases were made by a bot, and also, releasing static binaries would be appreciated, specially for my project,dbin
(I want to addrye
andrye-fyne
to the repos, currently onlyrye
has been added since we could not get rye-fyne to build, not even as dynamic nor static).Is creating a GH Action workflow that builds the tagged version of rye + the
main
branch of it after every commit considered? Would simplify a lot of things, and would mean that allrye
binaries could be added to Toolpacks (the repo thatdbin
uses, the requirement is that all binaries be static, (work on musl&glibc and even mlibc,etc))The text was updated successfully, but these errors were encountered: