Skip to content

Commit

Permalink
Revert back to iOS 14.5 for unit testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tijme committed Jun 23, 2023
1 parent a230082 commit ffdb366
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
include:
- destination: 'name=iPhone 14 Pro,OS=15.4'
- destination: 'name=iPhone 12 Pro,OS=14.5'
scheme: 'Raivo DEBUG'
steps:
- name: Checkout
Expand All @@ -25,12 +25,12 @@ jobs:
- name: Prepare custom devices
run: |
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
- name: Prepare iOS 15.4 simulator
if: contains(matrix.destination, 'OS=15.4')
- name: Prepare iOS 14.5 simulator
if: contains(matrix.destination, 'OS=14.5')
run: |
xcversion simulators --install='iOS 15.4'
xcrun simctl create iPhone-14-Pro "iPhone 14 Pro" "com.apple.CoreSimulator.SimRuntime.iOS-15-4"
xcrun simctl list devices 15.4
xcversion simulators --install='iOS 14.5'
xcrun simctl create iPhone-12-Pro "iPhone 12 Pro" "com.apple.CoreSimulator.SimRuntime.iOS-14-5"
xcrun simctl list devices 14.5
- name: Build and test
run: |
xcodebuild build test -project ${project} -scheme "${scheme}" -destination "${destination}" | xcpretty && exit ${PIPESTATUS[0]}
Expand Down

0 comments on commit ffdb366

Please sign in to comment.