commit 5614c5b8a7ff1350cf8348d0c3dc5edf88f8f1f6
parent ef5c2d8a067c727c8186105f12f74b93880cc9b5
Author: falkTX <falktx@falktx.com>
Date: Sat, 25 Sep 2021 13:20:51 +0100
Add VST3 to CI and packaging scripts
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/example-plugins.yml b/.github/workflows/example-plugins.yml
@@ -172,6 +172,7 @@ jobs:
!bin/*-dssi.dylib
!bin/lv2
!bin/vst2
+ !bin/vst3
win32:
runs-on: ubuntu-20.04
@@ -321,3 +322,14 @@ jobs:
--suppressions=./utils/valgrind-dpf.supp \
/usr/lib/carla/carla-bridge-native vst2 ./bin/${p} "" 1>/dev/null; \
done
+ - name: Test VST3 plugins
+ run: |
+ for p in $(ls bin/ | grep vst3); do \
+ env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \
+ valgrind \
+ --error-exitcode=255 \
+ --leak-check=full \
+ --track-origins=yes \
+ --suppressions=./utils/valgrind-dpf.supp \
+ /usr/lib/carla/carla-bridge-native vst3 ./bin/${p} "" 1>/dev/null; \
+ done
diff --git a/utils/package-osx-bundles.sh b/utils/package-osx-bundles.sh
@@ -14,10 +14,12 @@ SNAME="$(echo ${NAME} | tr -d ' ' | tr '/' '-')"
rm -rf lv2
rm -rf vst2
+rm -rf vst3
-mkdir lv2 vst2
+mkdir lv2 vst2 vst3
mv *.lv2 lv2/
mv *.vst vst2/
+mv *.vst3 vst3/
pkgbuild \
--identifier "studio.kx.distrho.plugins.${SNAME}.lv2bundles" \
@@ -31,6 +33,12 @@ pkgbuild \
--root "${PWD}/vst2/" \
../dpf-${SNAME}-vst2bundles.pkg
+pkgbuild \
+ --identifier "studio.kx.distrho.plugins.${SNAME}.vst3bundles" \
+ --install-location "/Library/Audio/Plug-Ins/VST3/" \
+ --root "${PWD}/vst3/" \
+ ../dpf-${SNAME}-vst3bundles.pkg
+
cd ..
DPF_UTILS_DIR=$(dirname ${0})
diff --git a/utils/plugin.pkg/package.xml.in b/utils/plugin.pkg/package.xml.in
@@ -11,8 +11,12 @@
<choice id="studio.kx.distrho.@sname@-vst2" title="VST2" description="Install VST2 plugins" visible="true">
<pkg-ref id="studio.kx.distrho.@sname@-vst2bundles" version="0">@vst2bundleref@</pkg-ref>
</choice>
+ <choice id="studio.kx.distrho.@sname@-vst3" title="VST3" description="Install VST3 plugins" visible="true">
+ <pkg-ref id="studio.kx.distrho.@sname@-vst3bundles" version="0">@vst3bundleref@</pkg-ref>
+ </choice>
<choices-outline>
<line choice="studio.kx.distrho.@sname@-lv2"/>
<line choice="studio.kx.distrho.@sname@-vst2"/>
+ <line choice="studio.kx.distrho.@sname@-vst3"/>
</choices-outline>
</installer-gui-script>