Translate C to Swift #216
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.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" | |
test_packages: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.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.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.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 |