Other workaround to build with VST3 SDK 3.7.2
This commit is contained in:
parent
4f3c0f94ff
commit
8804f4a515
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: |
|
run: |
|
||||||
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
|
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
|
||||||
/usr/i686-w64-mingw32/include/dwrite_3.h
|
/usr/i686-w64-mingw32/include/dwrite_3.h
|
||||||
- name: Fix VST sources
|
- name: Fix VST sources (case)
|
||||||
shell: bash
|
shell: bash
|
||||||
# need to convert some includes to lower case (as of VST 3.7.1)
|
# need to convert some includes to lower case (as of VST 3.7.1)
|
||||||
run: |
|
run: |
|
||||||
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
|
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
|
||||||
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
|
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
|
||||||
xargs -0 sed -i 's/<Windows.h>/<windows.h>/'
|
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
|
- name: Create Build Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
|
|
@ -321,13 +327,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
|
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
|
||||||
/usr/x86_64-w64-mingw32/include/dwrite_3.h
|
/usr/x86_64-w64-mingw32/include/dwrite_3.h
|
||||||
- name: Fix VST sources
|
- name: Fix VST sources (case)
|
||||||
shell: bash
|
shell: bash
|
||||||
# need to convert some includes to lower case (as of VST 3.7.1)
|
# need to convert some includes to lower case (as of VST 3.7.1)
|
||||||
run: |
|
run: |
|
||||||
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
|
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
|
||||||
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
|
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
|
||||||
xargs -0 sed -i 's/<Windows.h>/<windows.h>/'
|
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
|
- name: Create Build Environment
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue