Skip to content

feat: watchOS/tvOS/visionOS support (#3) #7

feat: watchOS/tvOS/visionOS support (#3)

feat: watchOS/tvOS/visionOS support (#3) #7

Workflow file for this run

name: SPM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build-iOS:
runs-on: macos-13
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' \
| xcbeautify --renderer github-actions
build-catalyst:
runs-on: macos-13
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=macOS,variant=Mac Catalyst' \
| xcbeautify --renderer github-actions
build-macOS:
runs-on: macos-13
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=macOS' \
| xcbeautify --renderer github-actions
build-watchOS:
runs-on: macos-13
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)' \
| xcbeautify --renderer github-actions
build-tvOS:
runs-on: macos-13
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=tvOS Simulator,name=Apple TV' \
| xcbeautify --renderer github-actions
build-visionOS:
runs-on: macos-14
steps:
- name: Force Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Checkout Repo
uses: actions/checkout@v4
- name: Build
run: |
set -euo pipefail
xcodebuild build -scheme GrowingUtils-Package -destination 'platform=visionOS Simulator,name=Apple Vision Pro' \
| xcbeautify --renderer github-actions