Skip to content

Commit

Permalink
Merge pull request #131 from ImJimmi/plugin-demo
Browse files Browse the repository at this point in the history
Add plugin target for demo runner
  • Loading branch information
ImJimmi authored Dec 28, 2023
2 parents b65bd83 + 85448d8 commit ae85c77
Show file tree
Hide file tree
Showing 29 changed files with 783 additions and 200 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/pluginval-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl -L "https://github.com/Tracktion/pluginval/releases/latest/download/pluginval_macOS.zip" -o pluginval.zip
unzip pluginval
pluginval.app/Contents/MacOS/pluginval --validate-in-process --strictness-level 10 --verbose --output-dir "./bin" "./build/runners/demo-runner/jive-demo-plugin_artefacts/Release/VST3/JIVE Demo.vst3" || exit 1
4 changes: 4 additions & 0 deletions .github/scripts/pluginval-windows.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest https://github.com/Tracktion/pluginval/releases/latest/download/pluginval_Windows.zip -OutFile pluginval.zip
Expand-Archive pluginval.zip -DestinationPath .
.\pluginval.exe --validate-in-process --strictness-level 10 --verbose --output-dir "./bin" "./build/runners/demo-runner/jive-demo-plugin_artefacts/Release/VST3/JIVE Demo.vst3"
Exit $LASTEXITCODE
5 changes: 5 additions & 0 deletions .github/workflows/demo-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
- generator: Xcode
runner: macos-latest
name: macOS
test-command: sh ./.github/scripts/pluginval-macos.sh
- generator: Visual Studio 17
runner: windows-latest
name: Windows
test-command: powershell ./.github/scripts/pluginval-windows.ps1

name: Build Demo ${{matrix.name}}
runs-on: ${{matrix.runner}}
Expand All @@ -32,3 +34,6 @@ jobs:

- name: CMake Build
run: cmake --build build --config Release

- name: Pluginval
run: ${{matrix.test-command}}
Loading

0 comments on commit ae85c77

Please sign in to comment.