-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add CI job to build calculator app #104
Conversation
Here's a link to a completed run in my fork, including the failed darwin-image builds: https://github.com/alexrudd/fyne-cross/actions/runs/2145041714 |
Thanks for the PR @alexrudd, great job!
At the moment I think testing the compilation from host In this case fyne-cross will use the SDK provided by XCode and there is no need to create the darwin image (required only when building from a no macOS host). Same applies to iOS. The build is supported only on macOS systems.
I'd say minimum and latest is ok.
Testing against the Calculator project is fine for now. In the worst scenario where a build fails due to bug from the app means the CI helped to found some issues into the Calculator app / Fyne toolkit :) |
2003354
to
550d7b0
Compare
The darwin builds are now working (at least when there are available runners), just need to spend some time figuring out why the ios build can't find a certificate:
There's quite a different error in the go1.13 ios build that I'll look into too. Might be a bug in go 1.13 from some initial googling |
Fyne only supports down to Go 1.14 |
@andydotxyz good catch. Min version bumped in #110 WRT the ios build failure my guess is that requires a certificate profile that matches the appID. Wondering if it is possible to upload on Github a testing certificate and share as |
The way cert lookup currently works is by having it registered with the system then look it up by name (as that is how Apple dev works by default). |
It seems to me that adding ios support for this github action is going to take more time. Why don't we remove it at the moment and open an issue to work on it? This way we can already merge this PR which is useful. |
I agree. |
550d7b0
to
6223723
Compare
Sorry for the delay. Had a busy few weeks! Here's the workflow with the ios target commented out and rebased onto latest develop. I can completely remove ios from the build matrix if that's preferred. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this. It looks good to me :)
Description:
Opening this as a draft PR to get feedback around building for darwin and ios.
This PR adds an additional job to the GitHub Actions CI Workflow that uses fyne-cross to build the Fyne example calculator project. It also makes some small changes to the linting and testing workflow jobs for consistency and compatibility reasons.
The aim of this additional job is to try and catch integration issues that only occur when using fyne-cross to build an actual app. See this bug report for some context: #100
I'm looking for feedback on the following:
dmg
to reference usingxcode-path
.I'd welcome any and all feedback :)
Checklist: