33
33
path : |
34
34
iPlug2/Dependencies/Build
35
35
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
37
44
38
45
- name : Cache VST3 SDK
39
46
id : cache-vst3
@@ -43,27 +50,12 @@ jobs:
43
50
iPlug2/Dependencies/IPlug/VST3_SDK
44
51
key : ${{runner.os}}-vst3-${{env.VST3_VER}}
45
52
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
-
53
53
- name : Get VST3 SDK
54
54
if : steps.cache-vst3.outputs.cache-hit != 'true'
55
55
shell : bash
56
56
run : |
57
57
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
-
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
67
59
68
60
- name : Build
69
61
shell : bash
@@ -110,28 +102,41 @@ jobs:
110
102
curl -L "https://github.com/Tracktion/pluginval/releases/download/${{env.PLUGINVAL_VER}}/pluginval_macOS.zip" -o pluginval.zip
111
103
unzip pluginval
112
104
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
114
119
shell : bash
115
120
run : |
116
121
pluginval.app/Contents/MacOS/pluginval --skip-gui-tests --validate-in-process --output-dir "./bin" --validate ${{env.PROJECT_NAME}}.vst3 || exit 1
117
122
118
- - name : Pluginval AUv2
123
+ - name : Test AUv2 with Pluginval
119
124
shell : bash
120
125
run : |
121
126
mkdir -p ~/Library/Audio/Plug-Ins/Components
122
127
mv ${{env.PROJECT_NAME}}.component ~/Library/Audio/Plug-Ins/Components
123
128
pgrep -x AudioComponentRegistrar >/dev/null && killall -9 AudioComponentRegistrar; echo "killed AudioComponentRegistrar" || echo "AudioComponentRegistrar Process not found"
124
129
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
125
130
126
- - name : auval AUv2
131
+ - name : Test AUv2 with auval
127
132
shell : bash
128
133
run : |
129
134
./validate_audiounit.sh config.h
130
135
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
135
140
136
141
- name : Upload artifact
137
142
uses : actions/upload-artifact@v3
0 commit comments