Update to support visionOS #234
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: xcodebuild test -scheme "Zen Tuner" -destination platform="iOS Simulator,name=iPhone 15 Pro Max,OS=17.0.1" | |
test_packages: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test | |
run: swift test --package-path Packages/MicrophonePitchDetector | |
macos: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build macOS | |
run: xcodebuild build -scheme "Zen Tuner" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
watchos: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build watchOS | |
run: xcodebuild build -scheme "ZenTuner_watchOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
lint: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/realm/swiftlint:0.53.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run SwiftLint | |
run: swiftlint lint --strict |