Develop #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.1 | |
- platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5 | |
- platform=iOS Simulator,name=iPad Air (5th generation),OS=17.0.1 | |
- 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 |