Skip to content

Fix support iPad

Fix support iPad #22

Workflow file for this run

name: CI - Pull Request
on:
pull_request:
branches:
- main
push:
branches:
- develop
workflow_dispatch:
jobs:
build-swiftpm:
name: Build SwiftPM
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
packages:
- OversizeKit
- OversizeCalendarKit
- OversizeContactsKit
- OversizeLocationKit
- OversizeNoticeKit
- OversizeNotificationKit
- OversizeOnboardingKit
- OversizePhotoKit
with:
package: ${{ matrix.packages }}
secrets: inherit
build-example:
name: Build Example
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination:
- platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0
- platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5
- platform=iOS Simulator,name=iPad Air (5th generation),OS=17.0
- platform=iOS Simulator,name=iPad Air (5th generation),OS=17.5
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=17.0
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=17.5
with:
path: AppExample/Example
scheme: Example
destination: ${{ matrix.destination }}
secrets: inherit
build-watchOS-example:
name: Build watchOS Example
needs: build-swiftpm
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main
strategy:
matrix:
destination:
- platform=watchOS Simulator,name=Apple Watch SE (44mm) (2nd generation),OS=10.0
- platform=watchOS Simulator,name=Apple Watch SE (44mm) (2nd generation),OS=10.5
with:
path: AppExample/Example
scheme: Example (watchOS) Watch App
destination: ${{ matrix.destination }}
secrets: inherit
# tests:
# name: Test
# needs: build-example
# uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main
# secrets: inherit