-
Notifications
You must be signed in to change notification settings - Fork 80
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
[Support Mobile] #57
Comments
Unfortunately there's no docker technology for macos at all. However, building for mobile is just cross-compile. It supposed to be worked on Linux as well. Have you tried it? |
iOS compilation require xcode :/ |
Oh! I have never tried Go for mobile. So there's no way to do it for iOS technically at the moment. For android, I think it's achievable, however, it may require NDK, right? Put it in docker will result very big image. The way you implement it looks very good since Github Actions hosted Runner have installed it already. |
One more question for curious, how's the Go on mobile? Is there any problems or limitations that difficult to solve? |
As you can see in my actions release it's quite easy to setup, there is a bit of limitation such as atomic alignment: kpango/fastime#42 https://pkg.go.dev/sync/atomic#pkg-note-BUG But other than that im quite happy with my project: https://github.com/Milerius/mm2-client Able to run on ios,android,wasm & desktop with the same codebase, (be carefull about package you use, for example gorilla/websocket doesn't support wasm, but other package support it) https://github.com/Milerius/mm2-client/releases all platform are released at each commit here |
I'm quite sure Docker work's really well on MacOS actually, you may want to try it: https://github.com/sickcodes/Docker-OSX |
It looks great! I haven't noticed that there's macosx based docker already. I'll spend some time to take a look in detail. Thanks! |
And i'm also sure that it's will be a great improvement for your action to support also mobile so i'm looking forward :) |
@Milerius Bad news: the https://github.com/sickcodes/Docker-OSX requires hardware virualization support, which doesn't support at the moment on github hosted runners, see actions/runner-images#183 (comment). |
Oh that's a bit sad 😭 |
I successfully managed to use your actions for Wasm + Desktop, but for mobile i'm using a custom one with your github asset uploader:
https://github.com/Milerius/mm2-client/blob/main/.github/workflows/mobile_release.yml
Would be nice to upgrade your actions to use MacOS instead of Linux so you could enjoy mobile Ios+Android development
The text was updated successfully, but these errors were encountered: