Skip to content

[CI] Fix Xcode / Simulator versions (#82) #225

[CI] Fix Xcode / Simulator versions (#82)

[CI] Fix Xcode / Simulator versions (#82) #225

Workflow file for this run

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@v3
- 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@v3
- 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@v3
- 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@v3
- 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@v3
- name: Run SwiftLint
run: swiftlint lint --strict