Added addInputConnection
/addOutputConnection
API deprecation
#1335
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: build | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' # .md files anywhere in the repo | |
- '**/LICENSE' # LICENSE files anywhere in the repo | |
- '**/.gitignore' # .gitignore files anywhere in the repo | |
- '**/*.png' # .png image files anywhere in the repo | |
- '**/*.pdf' # .pdf files anywhere in the repo | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' # .md files anywhere in the repo | |
- '**/LICENSE' # LICENSE files anywhere in the repo | |
- '**/.gitignore' # .gitignore files anywhere in the repo | |
- '**/*.png' # .png image files anywhere in the repo | |
- '**/*.pdf' # .pdf files anywhere in the repo | |
workflow_dispatch: | |
schedule: | |
- cron: '35 11 * * *' # once a day @ 11:35am UTC (4:35am PST) | |
jobs: | |
macOS-12: | |
name: macOS 12 Monterey | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@main | |
- name: Build | |
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "generic/platform=macOS,name=Any Mac" | |
- name: Unit Tests | |
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=macOS" | |
macCatalyst: | |
name: macCatalyst | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Build | |
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "generic/platform=macOS,variant=Mac Catalyst,name=Any Mac" | |
- name: Unit Tests | |
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=macOS,variant=Mac Catalyst" | |
iOS: | |
name: iOS | |
runs-on: macos-latest # this must be macos, GitHub does not offer iOS directly but we can use xcodebuild | |
steps: | |
- uses: actions/checkout@main | |
- name: iPhone 12 Simulator - Build | |
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | |
- name: iPhone 12 Simulator - Unit Tests | |
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=iOS Simulator,name=iPhone 12" | |
tvOS: | |
name: tvOS | |
runs-on: macos-latest # this must be macos, GitHub does not offer tvOS directly but we can use xcodebuild | |
steps: | |
- uses: actions/checkout@main | |
- name: Apple TV - Build | |
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | |
- name: Apple TV - Unit Tests | |
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=tvOS Simulator,name=Apple TV 4K (2nd generation)" | |
watchOS: | |
name: watchOS | |
runs-on: macos-latest # this must be macos, GitHub does not offer watchOS directly but we can use xcodebuild | |
steps: | |
- uses: actions/checkout@main | |
- name: Apple Watch - Build | |
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "generic/platform=watchOS Simulator,name=Any watchOS Simulator Device" | |
- name: Apple Watch - Unit Tests | |
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)" | |
# xcodebuild test reference: | |
# https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/08-automation.html |