|
13 | 13 | BUILD_DIR: build-mac
|
14 | 14 | ARTIFACT_EXT: mac
|
15 | 15 | PLUGINVAL_VER: v1.0.2
|
16 |
| - VST3_VER: v3.7.7_build_19 |
| 16 | + VST3_VER: v3.7.7_build_19x |
17 | 17 |
|
18 | 18 | jobs:
|
19 | 19 | build-mac:
|
|
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 | 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
|
|
65 | 65 | # submodules: recursive
|
66 | 66 | # path: "iPlug2/Dependencies/IPlug/VST3_SDK"
|
67 | 67 |
|
| 68 | + - name: Build VST3 Validator |
| 69 | + if: steps.cache-vst3.outputs.cache-hit != 'true' |
| 70 | + shell: bash |
| 71 | + run: | |
| 72 | + mkdir VST3_BUILD |
| 73 | + cd VST3_BUILD |
| 74 | + cmake ../iPlug2/Dependencies/IPlug/VST3_SDK -DCMAKE_BUILD_TYPE=Release |
| 75 | + make validator -j |
| 76 | + mv bin/Release/validator ../iPlug2/Dependencies/IPlug/VST3_SDK |
| 77 | +
|
68 | 78 | - name: Build
|
69 | 79 | shell: bash
|
70 | 80 | run: |
|
@@ -110,51 +120,38 @@ jobs:
|
110 | 120 | curl -L "https://github.com/Tracktion/pluginval/releases/download/${{env.PLUGINVAL_VER}}/pluginval_macOS.zip" -o pluginval.zip
|
111 | 121 | unzip pluginval
|
112 | 122 |
|
113 |
| - - name: Cache VST3 SDK |
| 123 | + - name: Restore VST3 SDK |
114 | 124 | id: cache-vst3
|
115 |
| - uses: actions/cache@v3 |
| 125 | + uses: actions/cache/restore@v3 |
116 | 126 | with:
|
117 | 127 | path: |
|
118 | 128 | iPlug2/Dependencies/IPlug/VST3_SDK
|
119 | 129 | key: ${{runner.os}}-vst3-${{env.VST3_VER}}
|
120 | 130 |
|
121 |
| - - name: Cache VST3 Validator |
122 |
| - id: cache-vst3-validator |
123 |
| - uses: actions/cache@v3 |
124 |
| - with: |
125 |
| - path: | |
126 |
| - validator |
127 |
| - key: ${{runner.os}}-vst3-validator-${{env.VST3_VER}} |
128 |
| - |
129 |
| - - name: Build VST3 Validator |
130 |
| - if: steps.cache-vst3-validator.outputs.cache-hit != 'true' |
| 131 | + - name: Test VST3 with VST3 Validator |
131 | 132 | shell: bash
|
132 | 133 | run: |
|
133 |
| - mkdir VST3_BUILD |
134 |
| - cd VST3_BUILD |
135 |
| - cmake iPlug2/Dependencies/IPlug/VST3_SDK -DCMAKE_BUILD_TYPE=Release |
136 |
| - make validator |
137 |
| - mv bin/Release/validator . |
| 134 | + ./iPlug2/Dependencies/IPlug/VST3_SDK/validator ${{env.PROJECT_NAME}}.vst3 |
138 | 135 |
|
139 |
| - - name: Pluginval VST3 |
| 136 | + - name: Test VST3 with Pluginval |
140 | 137 | shell: bash
|
141 | 138 | run: |
|
142 | 139 | pluginval.app/Contents/MacOS/pluginval --skip-gui-tests --validate-in-process --output-dir "./bin" --validate ${{env.PROJECT_NAME}}.vst3 || exit 1
|
143 | 140 |
|
144 |
| - - name: Pluginval AUv2 |
| 141 | + - name: Test AUv2 with Pluginval |
145 | 142 | shell: bash
|
146 | 143 | run: |
|
147 | 144 | mkdir -p ~/Library/Audio/Plug-Ins/Components
|
148 | 145 | mv ${{env.PROJECT_NAME}}.component ~/Library/Audio/Plug-Ins/Components
|
149 | 146 | pgrep -x AudioComponentRegistrar >/dev/null && killall -9 AudioComponentRegistrar; echo "killed AudioComponentRegistrar" || echo "AudioComponentRegistrar Process not found"
|
150 | 147 | 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
|
151 | 148 |
|
152 |
| - - name: auval AUv2 |
| 149 | + - name: Test AUv2 with AUval |
153 | 150 | shell: bash
|
154 | 151 | run: |
|
155 | 152 | ./validate_audiounit.sh config.h
|
156 | 153 |
|
157 |
| - # - name: auval AUv2 real time safety |
| 154 | + # - name: Test AUv2 with AUval (RTSafe) |
158 | 155 | # shell: bash
|
159 | 156 | # run: |
|
160 | 157 | # ./validate_audiounit.sh config.h rtsafe
|
|
0 commit comments