-
Notifications
You must be signed in to change notification settings - Fork 281
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
Upload CI builds as artifacts to Github actions #314
Comments
Hello @wormyrocks |
Just the output of the CI step is not enough. As @HuguesDelorme said, there needs to be one more step which is the deployment one. I do this for x86 version in one of my projects and it seems to work fine, see the relevant step Now that github has the arm64 runner images, this should be also possible for arm64, but I did not try yet. However, keep in mind that the produced app bundles won't be signed, so users will see the that the app might be malware and will need to jump through several hoops to get the app going. This is fine for experiences mac users, but it will be a FAQ. If you wanted to sign the app, you need to participate in Apple Dev program (which is ~ $100 year), this will give you the signing certificates and you will need to bundle entitlements. With all that, the app will run smoothly. I do this locally on my machine when deploying my project for arm64. IDK if this can be automated via github action - I did not bother to try. |
Hello @wormyrocks and @andrsd Or grab it from "Upload dmg file" step: Many thanks! |
@andrsd Thanks for this fast feedback! |
That didn't change anything. |
Try right clicking on the app and hitting 'open', that might give you the option to allow unsigned apps in system settings. P.S. @HuguesDelorme: at least at the time of the OP, Mayo (built locally) runs fine on my M1 Pro MBP.
The two links in this post seem dead? |
This was what I did as a first step and that brought the message I posted above.
For me as well. In my experience, locally-built binaries are fine. You use your local toolchain to build the app, so the OS trusts it. The problem is when you move that binary to another machine. At least that's what I see on my end. I vaguely remember seeing some app (it was either inkscape or gimp) that reported as being unsigned (or from untrusted developer, I don't remember exactly), but I could still install it. IDK how they deploy for macOS, thou... IIRC, the requirements from Apple on signing, entitlements, and notarization were more and more strict with every release of macOS. I found a lot of outdated info on the topic when I was trying to deploy my app. Maybe with older versions of Xcode it is possible to work around the problem, but I was after a native arm64 build which is possible only with fairly recent Xcode versions. Just my personal experience with the subject. YMMV as usual... |
I see that there's a CI task to make macOS builds. Since there are no official macOS builds anywhere, it would be nice if the output of that task were uploaded as an artifact to the github action: https://github.com/actions/upload-artifact
In particular: I had no problem building mayo on my M1 Mac, but I wanted to send a copy to a friend with an Intel Mac, and ran into issues cross-compiling. Would be much easier to just grab from CI.
The text was updated successfully, but these errors were encountered: