Browse Source

Add VST3 to CI and packaging scripts

Signed-off-by: falkTX <falktx@falktx.com>
pull/330/head
falkTX 3 years ago
parent
commit
5614c5b8a7
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 25 additions and 1 deletions
  1. +12
    -0
      .github/workflows/example-plugins.yml
  2. +9
    -1
      utils/package-osx-bundles.sh
  3. +4
    -0
      utils/plugin.pkg/package.xml.in

+ 12
- 0
.github/workflows/example-plugins.yml View File

@@ -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

+ 9
- 1
utils/package-osx-bundles.sh View File

@@ -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})


+ 4
- 0
utils/plugin.pkg/package.xml.in View File

@@ -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>

Loading…
Cancel
Save