Fix watchOS field #39
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 | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
build-swiftpm: | |
name: Build SwiftPM | |
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main | |
strategy: | |
matrix: | |
destination: | |
- platform=iOS Simulator,name=iPhone 16,OS=18.0 | |
- platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.0 | |
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.0 | |
- platform=macOS,arch=arm64 | |
with: | |
package: OversizeUI | |
destination: ${{ matrix.destination }} | |
secrets: inherit | |
build-iOS-example: | |
name: Build iOS example | |
needs: build-swiftpm | |
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main | |
strategy: | |
matrix: | |
destination: | |
- platform=iOS Simulator,name=iPhone 16 Pro,OS=18.0 | |
- platform=iOS Simulator,name=iPad (10th generation),OS=18.0 | |
with: | |
path: Example/Example | |
scheme: Example (iOS) | |
destination: ${{ matrix.destination }} | |
secrets: inherit | |
build-macOS-example: | |
name: Build macOS examples | |
needs: build-swiftpm | |
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main | |
with: | |
path: Example/Example | |
scheme: Example (macOS) | |
destination: platform=macOS,arch=arm64 | |
secrets: inherit | |
build-tvOS-example: | |
name: Build tvOS examples | |
needs: build-swiftpm | |
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main | |
strategy: | |
matrix: | |
destination: | |
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.0 | |
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.0 | |
with: | |
path: Example/Example | |
scheme: Example (tvOS) | |
destination: ${{ matrix.destination }} | |
secrets: inherit | |
build-watchOS-example: | |
name: Build watchOS examples | |
needs: build-swiftpm | |
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main | |
strategy: | |
matrix: | |
destination: | |
- platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.0 | |
with: | |
path: Example/Example | |
scheme: Example (watchOS) | |
destination: ${{ matrix.destination }} | |
secrets: inherit | |
bump: | |
name: Bump version | |
if: github.ref == 'refs/heads/main' | |
needs: | |
- build-swiftpm | |
- build-iOS-example | |
- build-macOS-example | |
- build-tvOS-example | |
- build-watchOS-example | |
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main | |
secrets: inherit |