-
Notifications
You must be signed in to change notification settings - Fork 224
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
Update iOS build runner from macos-11 to macos-12 in workflow #3292
Conversation
Github have deprecated macos-11 as a runner, and will remove it on 28 Jun 2024. See https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/ for the announcement.
The macos-12 runner doesn't offer xcode 12.5.1, but only the following: 14.2.0, 14.1.0, 14.0.1, 13.4.1, 13.3.1, 13.2.1, 13.1.0 So choosing the most recent in the xcode-13 series.
Hmm, it looks like there is more to do to make this work. Having updated the xcode version, the build still does not succeed, with log messages that I don't understand:
Anyone have any ideas? If we can't make this work by 28 June, we will need to temporarily disable the iOS auto-build. |
Nope. Tried using the earliest version of xcode (13.1.0) supported under macos-12, but the build still fails with the same errors as above. I've temporarily modified the workflow to run just the iOS build while testing (1002823) |
6e9c3b1
to
d53fa10
Compare
d53fa10
to
ccc1851
Compare
Found there is a way to disable the legacy build system deprecation diagnostic as found in this StackOverflow answer, and have added that to It now successfully builds on both xcode 13.1.0 and 13.4.1, so I've set it to use 13.4.1 again. Haven't been able to test the built iOS app. We will need to raise an issue for the need to move to the xcode "modern build system". Done: #3293 |
Ok. Runs on iOS 17 |
What would happen if you move the macOS and Xcode version even further to the latest version? |
Well xcode 14 does not support the legacy build system, so builds would fail until we used a Qt version that uses the modern build system instead. I haven't investigated which versions do so. I'm on holiday till 6 July, so have limited time, and no environment to test anything locally. |
We can't move from macos-12 to macos-13 until we support the modern build system, as macos-13 runners only offer xcode 14+ |
This PR needs to be approved and merged as-is before 28 June for iOS builds to work after that date. There are two or three brownout periods before that time where they will fail too. We can then explore later versions without the deadline. |
Is there a related issue for this PR? There seem to be several MacOS tooling changes and I can't tell them apart. |
I don't think so. This is iOS related. #3293 may be. |
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.
Tested a while ago.
There isn't at the moment. I raised the PR without creating an issue. I can do so if it provides better traceability. #3293 is a consequence of this change, rather than an issue fixed by it. |
OK, I raised #3304 and moved the reason this PR is needed into the issue description. |
So "iOS build runner from macos-11 to macos-12" is referring to the OS platform on which the iOS build is run? I see... I think :) |
Added the issue to the project board and set to In progress. https://github.com/jamulussoftware/jamulus/pull/3065/files .github/workflows/autobuild.yml appears to have the same change as in this PR? |
Yes, specifically in the Github CI. |
No, that PR changes the build runner to macos-13, and the xcode to 14.2.0. Neither of those is compatible with the legacy build system needed by the build with Qt 5.15.2. This PR is using macos-12 and xcode 13.4.1, which are the latest versions compatible with the legacy build system use by Qt 5.15.2. So this PR should be merged as an interim solution, until iOS with Qt 6 is working properly (which may well take some time). |
Short description of changes
Update the build runner for iOS from macos-11 to macos-12 in the Auto-Build workflow
CHANGELOG: Build: Updated the build runner for iOS in Github from macos-11 to macos-12
Context: Fixes an issue?
Fixes #3304
Does this change need documentation? What needs to be documented and how?
Probably not.
Status of this Pull Request
Ready for review. Build succeeds.
What is missing until this pull request can be merged?
Maybe testing of the iOS build. Not sure how to do that.@ann0see has tested the build and reports it runs ok.Checklist