-
Notifications
You must be signed in to change notification settings - Fork 45
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
Xcode 14 #432
Xcode 14 #432
Conversation
|
||
strategy: | ||
fail-fast: false # Don’t fail-fast so that we get all snapshot test changes | ||
matrix: | ||
include: | ||
- sdk: "14.5" | ||
destination: platform=iOS Simulator,OS=14.5,name=iPhone 8 | ||
destination: platform=iOS Simulator,OS=14.5,name=iPad (8th generation) |
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.
Installing iOS 14.5 with xcodes
doesn't create an iPhone 8 sim for some reason, so I just picked another 2x device.
@@ -43,7 +47,7 @@ jobs: | |||
- name: Package snapshot changes | |||
if: ${{ failure() }} | |||
run: | | |||
git ls-files -mo BlueprintUICommonControls/Tests/Sources/ReferenceImages | xargs tar -cvf snapshot_changes_${{ matrix.sdk }}.tar | |||
git ls-files -mo BlueprintUICommonControls/Tests/Sources/Resources/ReferenceImages | xargs tar -cvf snapshot_changes_${{ matrix.sdk }}.tar |
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.
This fixes the link to download failed snapshot test images.
@@ -0,0 +1,143 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<Scheme |
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 committed these schemes to work around a bug in Xcode 14. More details linked from the comment in the gitignore file.
@@ -24,7 +24,7 @@ class PerformancePlayground: XCTestCase { | |||
|
|||
override func invokeTest() { | |||
// Uncomment this line to run performance metrics, eg in Instruments.app. | |||
super.invokeTest() | |||
// super.invokeTest() |
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 think this was previously committed accidentally. Disabled again to make the tests run faster.
This PR updates Blueprint to build on Xcode 14 and Swift 5.7. It's mostly CI config.
Updating SwiftFormat picked up a few new linting changes.
xcversion
is being sunset and does not support Xcode 14. Replaced it with xcodes.There's a new entry in the snapshot test matrix for iOS 16.2. Also deleted the images from iOS 13 & 14 which are now unused.