Skip to content

Commit

Permalink
Use iPhone 16 as destination name.
Browse files Browse the repository at this point in the history
Add dependency for pod lint and build steps.
  • Loading branch information
serhii-londar committed Feb 12, 2025
1 parent 892f77c commit 82249c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

pod-lint:
name: PodLint
needs: build
runs-on: macos-15
steps:
- uses: actions/checkout@v4
Expand All @@ -55,7 +56,7 @@ jobs:
platform: [iOS, macOS, tvOS, watchOS]
include:
- platform: iOS
destination: 'platform=iOS Simulator,name=iPhone 15'
destination: 'platform=iOS Simulator,name=iPhone 16'
- platform: macOS
destination: 'platform=macOS'
- platform: tvOS
Expand All @@ -78,6 +79,7 @@ jobs:
build:
name: Build
needs: spm-build
runs-on: macos-15
steps:
- uses: actions/checkout@v4
Expand All @@ -100,7 +102,7 @@ jobs:
-workspace ./AppleReminders.xcworkspace \
-scheme AppleReminders \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 15' | xcbeautify && exit ${PIPESTATUS[0]}
-destination 'platform=iOS Simulator,name=iPhone 16' | xcbeautify && exit ${PIPESTATUS[0]}
# TODO: ObjCExample

Expand Down Expand Up @@ -130,7 +132,7 @@ jobs:
-workspace ./Tests.xcworkspace \
-scheme Tests \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 15' \
-destination 'platform=iOS Simulator,name=iPhone 16' \
-enableCodeCoverage YES | xcbeautify && exit ${PIPESTATUS[0]}
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 82249c6

Please sign in to comment.