Skip to content

Commit

Permalink
Fix compatibility_tests.yml failure issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Oct 10, 2024
1 parent b6e5834 commit ba06683
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/compatibility_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Execute compatibility tests for macOS
strategy:
matrix:
os: [macos-14]
os: [macos-15]
xcode-version: ["16.0"]
runs-on: ${{ matrix.os }}
env:
Expand All @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [macos-15]
xcode-version: ["16.0"]
ios-version: ["18.0"]
ios-simulator-name: ["iPhone 16 Pro"]
Expand All @@ -47,9 +47,9 @@ jobs:
xcode-version: ${{ matrix.xcode-version }}
- name: Run compatibility tests
run: |
./Scripts/patch_sdk iphonesimulator SwiftUICore ./SDKPatches/patch.swiftinterface
./Scripts/patch_sdk.sh iphonesimulator SwiftUICore ./SDKPatches/patch.swiftinterface
xcodebuild test \
-scheme ProtobufKit \
-configuration Debug \
-destination "platform=iOS Simulator,OS=${{ matrix.ios-version }},name=${{ matrix.ios-simulator-name }}"
./Scripts/unpatch_sdk iphonesimulator SwiftUICore ./SDKPatches/patch.swiftinterface
./Scripts/unpatch_sdk.sh iphonesimulator SwiftUICore ./SDKPatches/patch.swiftinterface
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Execute tests on iOS
strategy:
matrix:
os: [macos-14]
os: [macos-15]
xcode-version: [16.0]
ios-version: ["18.0"]
ios-simulator-name: ["iPhone 16 Pro"]
Expand Down

0 comments on commit ba06683

Please sign in to comment.