From 8804f4a515693caa2f05cdafcb05d1c65f610f58 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 21 Jun 2021 22:27:53 +0200 Subject: [PATCH] Other workaround to build with VST3 SDK 3.7.2 --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7abb7b5..31414eb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -251,13 +251,19 @@ jobs: run: | cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \ /usr/i686-w64-mingw32/include/dwrite_3.h - - name: Fix VST sources + - name: Fix VST sources (case) shell: bash # need to convert some includes to lower case (as of VST 3.7.1) run: | find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \ find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \ xargs -0 sed -i 's///' + - name: Fix VST sources (includes) + shell: bash + # need to add include (as of VST 3.7.2) + run: | + sed -i '0,/#include \n#include //' + - name: Fix VST sources (includes) + shell: bash + # need to add include (as of VST 3.7.2) + run: | + sed -i '0,/#include \n#include