-
-
Notifications
You must be signed in to change notification settings - Fork 375
Updated to Xcode 15.4, iOS SDK 17.5 and macOS SDK 14.5 #9049
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
Conversation
@@ -19,7 +19,7 @@ jobs: | |||
steps: [ | |||
{ name: 'Checkout', uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 }, | |||
{ name: 'Install Python', uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c, with: { python-version: 3.12, architecture: x64 } }, | |||
{ name: 'XCode', uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd, with: { xcode-version: '15.1' } }, | |||
{ name: 'XCode', uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd, with: { xcode-version: '15.4' } }, |
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.
Runner os version also should be updated because only macos-14 has Xcode 15.4 (https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode)
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.
thx!
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.
Interesting if it's only arm64 runners now
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.
Could you share a link to the page where did you make this screenshot?
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.
thank you!
@@ -31,7 +31,7 @@ jobs: | |||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |||
}, | |||
{ name: 'Fetch tags', run: 'git fetch --depth=1 origin +refs/tags/*:refs/tags/*' }, | |||
{ name: 'Install Python', uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c, with: { python-version: 3.12, architecture: x64 } }, | |||
{ name: 'Install Python', uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c, with: { python-version: 3.12.3} }, |
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.
I specified a minor version to workaround actions/setup-python#886
@@ -46,13 +46,13 @@ jobs: | |||
|
|||
sign-editor-macos: | |||
needs: [build-editor] | |||
runs-on: macOS-13 | |||
runs-on: macOS-14 |
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.
new runner needed to be able to use the latest xcode
strategy: | ||
matrix: | ||
platform: [x86_64-macos, arm64-macos] | ||
steps: [ | ||
{ name: 'Checkout', uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 }, | ||
{ name: 'Install Python', uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c, with: { python-version: 3.12, architecture: x64 } }, |
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.
we don't have to specify arch anymore (each mac should pick an arch that fits better)
@@ -328,9 +328,6 @@ def __del__(self): | |||
os._exit(5) | |||
|
|||
def get_python(self): | |||
if 'macos' in self.host and 'arm64' == platform.machine(): | |||
if 'x86_64-macos' == self.target_platform: | |||
return ['arch', '-x86_64', 'python'] |
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.
we don't need this logic anymore
* Update xcode to 15.4 * update runners * remove `arch -x86_64` for python * use python 3.12.3 as a workaround for actions/setup-python#886 * do not specify arch
PR checklist
Example of a well written PR description:
### Technical changes
Technical changes:
Technical notes: