3333 path : |
3434 iPlug2/Dependencies/Build
3535 iPlug2/Dependencies/iPlug
36- key : ${{runner.os}}-${{hashFiles('iPlug2/Dependencies/download-prebuilt-libs.sh', 'iPlug2/Dependencies/IGraphics/build-igraphics-libs-mac.sh', 'iPlug2/Dependencies/IGraphics/build-skia-mac.sh')}}
36+ key : ${{runner.os}}-deps-${{hashFiles('iPlug2/Dependencies/download-prebuilt-libs.sh', 'iPlug2/Dependencies/IGraphics/build-igraphics-libs-mac.sh', 'iPlug2/Dependencies/IGraphics/build-skia-mac.sh')}}
37+
38+ - name : Get Prebuilt Libs
39+ if : steps.cache-deps.outputs.cache-hit != 'true'
40+ shell : bash
41+ run : |
42+ cd iPlug2/Dependencies
43+ ./download-prebuilt-libs.sh
3744
3845 - name : Cache VST3 SDK
3946 id : cache-vst3
@@ -43,27 +50,12 @@ jobs:
4350 iPlug2/Dependencies/IPlug/VST3_SDK
4451 key : ${{runner.os}}-vst3-${{env.VST3_VER}}
4552
46- - name : Get Prebuilt Libs
47- if : steps.cache-deps.outputs.cache-hit != 'true'
48- shell : bash
49- run : |
50- cd iPlug2/Dependencies
51- ./download-prebuilt-libs.sh
52-
5353 - name : Get VST3 SDK
5454 if : steps.cache-vst3.outputs.cache-hit != 'true'
5555 shell : bash
5656 run : |
5757 cd iPlug2/Dependencies/IPlug
58- ./download-iplug-sdks.sh
59-
60- # - name: Checkout VST3 SDK
61- # if: steps.cache-deps.outputs.cache-hit != 'true'
62- # uses: actions/checkout@v3.3.0
63- # with:
64- # repository: steinbergmedia/vst3sdk
65- # submodules: recursive
66- # path: "iPlug2/Dependencies/IPlug/VST3_SDK"
58+ ./download-vst3-sdk.sh ${{env.VST3_VER}} build-validator
6759
6860 - name : Build
6961 shell : bash
@@ -110,28 +102,41 @@ jobs:
110102 curl -L "https://github.com/Tracktion/pluginval/releases/download/${{env.PLUGINVAL_VER}}/pluginval_macOS.zip" -o pluginval.zip
111103 unzip pluginval
112104
113- - name : Pluginval VST3
105+ - name : Restore VST3 SDK
106+ id : cache-vst3
107+ uses : actions/cache/restore@v3
108+ with :
109+ path : |
110+ iPlug2/Dependencies/IPlug/VST3_SDK
111+ key : ${{runner.os}}-vst3-${{env.VST3_VER}}
112+
113+ - name : Test VST3 with VST3 Validator
114+ shell : bash
115+ run : |
116+ ./iPlug2/Dependencies/IPlug/VST3_SDK/validator ${{env.PROJECT_NAME}}.vst3
117+
118+ - name : Test VST3 with Pluginval
114119 shell : bash
115120 run : |
116121 pluginval.app/Contents/MacOS/pluginval --skip-gui-tests --validate-in-process --output-dir "./bin" --validate ${{env.PROJECT_NAME}}.vst3 || exit 1
117122
118- - name : Pluginval AUv2
123+ - name : Test AUv2 with Pluginval
119124 shell : bash
120125 run : |
121126 mkdir -p ~/Library/Audio/Plug-Ins/Components
122127 mv ${{env.PROJECT_NAME}}.component ~/Library/Audio/Plug-Ins/Components
123128 pgrep -x AudioComponentRegistrar >/dev/null && killall -9 AudioComponentRegistrar; echo "killed AudioComponentRegistrar" || echo "AudioComponentRegistrar Process not found"
124129 pluginval.app/Contents/MacOS/pluginval --skip-gui-tests --validate-in-process --output-dir "./bin" --validate ~/Library/Audio/Plug-Ins/Components/${{env.PROJECT_NAME}}.component || exit 1
125130
126- - name : auval AUv2
131+ - name : Test AUv2 with auval
127132 shell : bash
128133 run : |
129134 ./validate_audiounit.sh config.h
130135
131- - name : auval AUv2 real time safety
132- shell : bash
133- run : |
134- ./validate_audiounit.sh config.h rtsafe
136+ # - name: Test AUv2 with auval (RTSafe)
137+ # shell: bash
138+ # run: |
139+ # ./validate_audiounit.sh config.h rtsafe
135140
136141 - name : Upload artifact
137142 uses : actions/upload-artifact@v3
0 commit comments