-
Notifications
You must be signed in to change notification settings - Fork 29
ci: upgrade macos-14 runners to macos-15 #282
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,34 +7,34 @@ | |
|
|
||
| jobs: | ||
| build: | ||
| runs-on: macos-14 | ||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
|
Comment on lines
8
to
13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The workflows specify using Suggested FixVerify the available Xcode versions on the Prompt for AI AgentAlso affects:
Did we get this right? 👍 / 👎 to inform future reviews. |
||
| uses: actions/checkout@v2 | ||
| - name: Xcode select | ||
| run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | ||
| - name: Build TestApp | ||
| run: cd Examples && xcodebuild build -scheme DemoApp -destination 'generic/platform=iOS Simulator' -project DemoApp/DemoApp.xcodeproj | ||
| - name: Build Snapshotting | ||
| run: xcodebuild build -scheme Snapshotting -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' | ||
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' | ||
| build-tvos: | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
| runs-on: macos-14 | ||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
| - name: Xcode select | ||
| run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | ||
| - name: Build PreviewGallery | ||
| run: xcodebuild build -scheme PreviewGallery -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | ||
| - name: Build Snapshotting | ||
| run: xcodebuild build -scheme Snapshotting -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | ||
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | ||
| build-visionos: | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
|
|
@@ -49,43 +49,43 @@ | |
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' | ||
| build-watchos: | ||
| runs-on: macos-14 | ||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
| - name: Xcode select | ||
| run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | ||
| - name: Build Test Watch App | ||
| run: cd Examples && xcodebuild build -scheme 'Demo Watch App' -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' -project DemoApp/DemoApp.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | ||
| - name: Build Snapshotting | ||
| run: xcodebuild build -scheme Snapshotting -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' | ||
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' | ||
| build-macos: | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
| runs-on: macos-14 | ||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
| - name: Xcode select | ||
| run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | ||
| - name: Build PreviewGallery | ||
| run: xcodebuild build -scheme PreviewGallery -sdk macosx -destination 'generic/platform=macOS' | ||
| - name: Build Snapshotting | ||
| run: xcodebuild build -scheme Snapshotting -sdk macosx -destination 'generic/platform=macOS' | ||
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk macosx -destination 'generic/platform=macOS' | ||
| build-macos-catalyst: | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
| runs-on: macos-14 | ||
| runs-on: macos-15 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v2 | ||
| - name: Xcode select | ||
| run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | ||
| - name: Build PreviewGallery | ||
| run: xcodebuild build -scheme PreviewGallery -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst' | ||
| - name: Build Snapshotting | ||
| run: xcodebuild build -scheme Snapshotting -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst' | ||
| - name: Build SnapshottingTests | ||
| run: xcodebuild build -scheme SnapshottingTests -sdk macosx -destination 'platform=macOS,variant=Mac Catalyst' | ||
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
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.
Pinned Xcode missing on macos-15
High Severity
Jobs now run on
macos-15but still select/Applications/Xcode_15.4.app, which is not installed on that image. Thexcode-selectstep fails immediately, so pull request builds, XCFramework builds, and the release workflow cannot complete.Additional Locations (2)
.github/workflows/build-xcframework.yml#L15-L16.github/workflows/release.yaml#L15-L16Reviewed by Cursor Bugbot for commit 7eed22d. Configure here.