-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from orchetect/dev
Major refactor, Events support, new API (still subject to change <0.2.0)
- Loading branch information
Showing
238 changed files
with
14,170 additions
and
15,620 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [main, dev] | ||
paths-ignore: | ||
- 'Docs/**' # Docs folder in root of repo | ||
- '**/*.md' # .md files anywhere in the repo | ||
- '**/LICENSE' # LICENSE files anywhere in the repo | ||
- '**/.gitignore' # .gitignore files anywhere in the repo | ||
|
||
pull_request: | ||
branches: [main] | ||
paths-ignore: | ||
- 'Docs/**' # Docs folder in root of repo | ||
- '**/*.md' # .md files anywhere in the repo | ||
- '**/LICENSE' # LICENSE files anywhere in the repo | ||
- '**/.gitignore' # .gitignore files anywhere in the repo | ||
|
||
workflow_dispatch: | ||
|
||
schedule: | ||
- cron: '35 11 * * *' # once a day @ 11:35am UTC (4:35am PST) | ||
|
||
jobs: | ||
macOS: | ||
name: macOS | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build | ||
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=macOS,arch=x86_64" | ||
- name: Unit Tests | ||
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=macOS,arch=x86_64" | ||
|
||
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 "platform=macOS,variant=Mac Catalyst,arch=x86_64" | ||
- name: Unit Tests | ||
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=macOS,variant=Mac Catalyst,arch=x86_64" | ||
|
||
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 "platform=iOS Simulator,name=iPhone 12" | ||
- name: iPhone 12 Simulator - Unit Tests | ||
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=iOS Simulator,name=iPhone 12" | ||
|
||
Examples: | ||
name: Examples | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: MIDISystemInfo - Resolve Package Dependencies # needed because sometimes xcodebuild fails otherwise | ||
run: xcodebuild -project "Examples/MIDISystemInfo/MIDISystemInfo.xcodeproj" -resolvePackageDependencies | ||
- name: MIDISystemInfo - Build | ||
run: xcodebuild build -project "Examples/MIDISystemInfo/MIDISystemInfo.xcodeproj" -scheme "MIDISystemInfo" | ||
|
||
|
||
# we flew too close to the sun... tvOS is not yet ready for primetime because CoreMIDI is still in beta for tvOS | ||
# | ||
# 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 "platform=tvOS Simulator,name=Apple TV" | ||
# - name: Apple TV - Unit Tests | ||
# run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "MIDIKit-CI" -destination "platform=tvOS Simulator,name=Apple TV" | ||
|
||
|
||
# xcodebuild test reference: | ||
# https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/08-automation.html |
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
File renamed without changes.
106 changes: 106 additions & 0 deletions
106
.swiftpm/xcode/xcshareddata/xcschemes/MIDIKit-CI.xcscheme
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1240" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "MIDIKit" | ||
BuildableName = "MIDIKit" | ||
BlueprintName = "MIDIKit" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "NO" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "MIDIKitTests" | ||
BuildableName = "MIDIKitTests" | ||
BlueprintName = "MIDIKitTests" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "NO" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "MIDIKitC" | ||
BuildableName = "MIDIKitC" | ||
BlueprintName = "MIDIKitC" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
codeCoverageEnabled = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "MIDIKitTests" | ||
BuildableName = "MIDIKitTests" | ||
BlueprintName = "MIDIKitTests" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "MIDIKit" | ||
BuildableName = "MIDIKit" | ||
BlueprintName = "MIDIKit" | ||
ReferencedContainer = "container:"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Docs will be added in future. This is a placeholder file in the meantime. |
Oops, something went wrong.