Merge pull request #922 from jpcima/vst3sdk-workaround
Other workaround to build with VST3 SDK 3.7.2
This commit is contained in:
commit
76c1f082a4
1 changed files with 14 additions and 2 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -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/<Windows.h>/<windows.h>/'
|
||||
- name: Fix VST sources (includes)
|
||||
shell: bash
|
||||
# need to add include <limits> (as of VST 3.7.2)
|
||||
run: |
|
||||
sed -i '0,/#include </s//#include <limits>\n#include </' \
|
||||
"$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/main/moduleinit.h
|
||||
- name: Create Build Environment
|
||||
shell: bash
|
||||
working-directory: ${{runner.workspace}}
|
||||
|
|
@ -321,13 +327,19 @@ jobs:
|
|||
run: |
|
||||
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
|
||||
/usr/x86_64-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/<Windows.h>/<windows.h>/'
|
||||
- name: Fix VST sources (includes)
|
||||
shell: bash
|
||||
# need to add include <limits> (as of VST 3.7.2)
|
||||
run: |
|
||||
sed -i '0,/#include </s//#include <limits>\n#include </' \
|
||||
"$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/main/moduleinit.h
|
||||
- name: Create Build Environment
|
||||
shell: bash
|
||||
working-directory: ${{runner.workspace}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue