Signed-off-by: falkTX <falktx@falktx.com>pull/330/head
@@ -172,6 +172,7 @@ jobs: | |||||
!bin/*-dssi.dylib | !bin/*-dssi.dylib | ||||
!bin/lv2 | !bin/lv2 | ||||
!bin/vst2 | !bin/vst2 | ||||
!bin/vst3 | |||||
win32: | win32: | ||||
runs-on: ubuntu-20.04 | runs-on: ubuntu-20.04 | ||||
@@ -321,3 +322,14 @@ jobs: | |||||
--suppressions=./utils/valgrind-dpf.supp \ | --suppressions=./utils/valgrind-dpf.supp \ | ||||
/usr/lib/carla/carla-bridge-native vst2 ./bin/${p} "" 1>/dev/null; \ | /usr/lib/carla/carla-bridge-native vst2 ./bin/${p} "" 1>/dev/null; \ | ||||
done | 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 |
@@ -14,10 +14,12 @@ SNAME="$(echo ${NAME} | tr -d ' ' | tr '/' '-')" | |||||
rm -rf lv2 | rm -rf lv2 | ||||
rm -rf vst2 | rm -rf vst2 | ||||
rm -rf vst3 | |||||
mkdir lv2 vst2 | |||||
mkdir lv2 vst2 vst3 | |||||
mv *.lv2 lv2/ | mv *.lv2 lv2/ | ||||
mv *.vst vst2/ | mv *.vst vst2/ | ||||
mv *.vst3 vst3/ | |||||
pkgbuild \ | pkgbuild \ | ||||
--identifier "studio.kx.distrho.plugins.${SNAME}.lv2bundles" \ | --identifier "studio.kx.distrho.plugins.${SNAME}.lv2bundles" \ | ||||
@@ -31,6 +33,12 @@ pkgbuild \ | |||||
--root "${PWD}/vst2/" \ | --root "${PWD}/vst2/" \ | ||||
../dpf-${SNAME}-vst2bundles.pkg | ../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 .. | cd .. | ||||
DPF_UTILS_DIR=$(dirname ${0}) | DPF_UTILS_DIR=$(dirname ${0}) | ||||
@@ -11,8 +11,12 @@ | |||||
<choice id="studio.kx.distrho.@sname@-vst2" title="VST2" description="Install VST2 plugins" visible="true"> | <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> | <pkg-ref id="studio.kx.distrho.@sname@-vst2bundles" version="0">@vst2bundleref@</pkg-ref> | ||||
</choice> | </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> | <choices-outline> | ||||
<line choice="studio.kx.distrho.@sname@-lv2"/> | <line choice="studio.kx.distrho.@sname@-lv2"/> | ||||
<line choice="studio.kx.distrho.@sname@-vst2"/> | <line choice="studio.kx.distrho.@sname@-vst2"/> | ||||
<line choice="studio.kx.distrho.@sname@-vst3"/> | |||||
</choices-outline> | </choices-outline> | ||||
</installer-gui-script> | </installer-gui-script> |