|
@@ -659,12 +659,14 @@ jobs: |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static |
|
|
- name: Build for modduo |
|
|
- name: Build for modduo |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
make modduo HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} MODDUO=true -j $(nproc) |
|
|
make modduo HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} MODDUO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
- uses: actions/upload-artifact@v3 |
|
|
- uses: actions/upload-artifact@v3 |
|
@@ -699,12 +701,14 @@ jobs: |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduox-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduox-static |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh modduox-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduox-static |
|
|
- name: Build for modduox |
|
|
- name: Build for modduox |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
make modduox HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
make modduox HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
- uses: actions/upload-artifact@v3 |
|
|
- uses: actions/upload-artifact@v3 |
|
@@ -739,12 +743,14 @@ jobs: |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh moddwarf minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh moddwarf |
|
|
$(pwd)/deps/mod-plugin-builder/bootstrap.sh moddwarf minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh moddwarf |
|
|
- name: Build for moddwarf |
|
|
- name: Build for moddwarf |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
make moddwarf HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
make moddwarf HEADLESS=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.mpb-cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || env.SHA8 }}.tar.gz -C bin $(ls bin | grep lv2) |
|
|
- uses: actions/upload-artifact@v3 |
|
|
- uses: actions/upload-artifact@v3 |
|
@@ -787,12 +793,16 @@ jobs: |
|
|
source ~/PawPawBuilds/emsdk/emsdk_env.sh |
|
|
source ~/PawPawBuilds/emsdk/emsdk_env.sh |
|
|
./deps/PawPaw/bootstrap-cardinal.sh wasm && ./deps/PawPaw/.cleanup.sh wasm |
|
|
./deps/PawPaw/bootstrap-cardinal.sh wasm && ./deps/PawPaw/.cleanup.sh wasm |
|
|
- name: Build wasm cross-compiled |
|
|
- name: Build wasm cross-compiled |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
|
|
|
env: |
|
|
|
|
|
WITH_LTO: 'false' |
|
|
run: | |
|
|
run: | |
|
|
source ~/PawPawBuilds/emsdk/emsdk_env.sh |
|
|
source ~/PawPawBuilds/emsdk/emsdk_env.sh |
|
|
pushd deps/PawPaw; source local.env wasm; popd |
|
|
pushd deps/PawPaw; source local.env wasm; popd |
|
|
make features |
|
|
make features |
|
|
make CIBUILD=true HAVE_LIBLO=false NOOPT=true USE_GLES2=true WITH_LTO=false -j $(nproc) |
|
|
|
|
|
|
|
|
make CIBUILD=true HAVE_LIBLO=false NOOPT=true USE_GLES2=true -j $(nproc) |
|
|
- name: Make wasm versioned and compress |
|
|
- name: Make wasm versioned and compress |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
VERSION=$(cat Makefile | awk 'sub("VERSION = ","")') |
|
|
VERSION=$(cat Makefile | awk 'sub("VERSION = ","")') |
|
|
cd bin |
|
|
cd bin |
|
@@ -809,6 +819,7 @@ jobs: |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
cd bin; zip -r -9 ../${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls *.br *.html *.data *.js *.wasm) |
|
|
cd bin; zip -r -9 ../${{ github.event.repository.name }}-wasm-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls *.br *.html *.data *.js *.wasm) |
|
|
- uses: actions/upload-artifact@v3 |
|
|
- uses: actions/upload-artifact@v3 |
|
@@ -863,10 +874,11 @@ jobs: |
|
|
NM: emnm |
|
|
NM: emnm |
|
|
RANLIB: emranlib |
|
|
RANLIB: emranlib |
|
|
STRIP: emstrip |
|
|
STRIP: emstrip |
|
|
|
|
|
WITH_LTO: 'false' |
|
|
run: | |
|
|
run: | |
|
|
source ~/emsdk/emsdk_env.sh |
|
|
source ~/emsdk/emsdk_env.sh |
|
|
make features |
|
|
make features |
|
|
make CIBUILD=true NOPLUGINS=true STATIC_BUILD=true USE_GLES2=true WITH_LTO=false -j $(nproc) |
|
|
|
|
|
|
|
|
make CIBUILD=true NOPLUGINS=true STATIC_BUILD=true USE_GLES2=true -j $(nproc) |
|
|
- name: Make wasm versioned and compress |
|
|
- name: Make wasm versioned and compress |
|
|
run: | |
|
|
run: | |
|
|
VERSION=$(cat Makefile | awk 'sub("VERSION = ","")') |
|
|
VERSION=$(cat Makefile | awk 'sub("VERSION = ","")') |
|
@@ -945,6 +957,7 @@ jobs: |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
./deps/PawPaw/bootstrap-cardinal.sh win32 && ./deps/PawPaw/.cleanup.sh win32 |
|
|
./deps/PawPaw/bootstrap-cardinal.sh win32 && ./deps/PawPaw/.cleanup.sh win32 |
|
|
- name: Build win32 cross-compiled (base) |
|
|
- name: Build win32 cross-compiled (base) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
@@ -952,6 +965,7 @@ jobs: |
|
|
make features |
|
|
make features |
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
- name: Build win32 cross-compiled (carla) |
|
|
- name: Build win32 cross-compiled (carla) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
@@ -960,6 +974,7 @@ jobs: |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
- name: Build win32 cross-compiled (packaging) |
|
|
- name: Build win32 cross-compiled (packaging) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
pushd deps/PawPaw; source local.env win32; popd |
|
|
pushd deps/PawPaw; source local.env win32; popd |
|
|
xvfb-run ./utils/create-windows-installer.sh 32 |
|
|
xvfb-run ./utils/create-windows-installer.sh 32 |
|
@@ -971,6 +986,7 @@ jobs: |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
pushd bin |
|
|
pushd bin |
|
|
zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap) |
|
|
zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap) |
|
@@ -1037,6 +1053,7 @@ jobs: |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
./deps/PawPaw/bootstrap-cardinal.sh win64 && ./deps/PawPaw/.cleanup.sh win64 |
|
|
./deps/PawPaw/bootstrap-cardinal.sh win64 && ./deps/PawPaw/.cleanup.sh win64 |
|
|
- name: Build win64 cross-compiled (base) |
|
|
- name: Build win64 cross-compiled (base) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
@@ -1044,6 +1061,7 @@ jobs: |
|
|
make features |
|
|
make features |
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
make CIBUILD=true NOOPT=true WITH_LTO=${{ env.WITH_LTO }} -j $(nproc) |
|
|
- name: Build win64 cross-compiled (carla) |
|
|
- name: Build win64 cross-compiled (carla) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
if [ "${{ env.WITH_LTO }}" != "true" ]; then export PAWPAW_SKIP_LTO=1; fi |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
|
export PATH="/usr/lib/ccache:${PATH}" |
|
@@ -1052,6 +1070,7 @@ jobs: |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
make -C carla EMBED_TARGET=true TESTING=true dist |
|
|
- name: Build win64 cross-compiled (packaging) |
|
|
- name: Build win64 cross-compiled (packaging) |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
pushd deps/PawPaw; source local.env win64; popd |
|
|
pushd deps/PawPaw; source local.env win64; popd |
|
|
xvfb-run ./utils/create-windows-installer.sh 64 |
|
|
xvfb-run ./utils/create-windows-installer.sh 64 |
|
@@ -1063,6 +1082,7 @@ jobs: |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.ref_name }})" >> $GITHUB_ENV |
|
|
- name: Pack binaries |
|
|
- name: Pack binaries |
|
|
|
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
run: | |
|
|
run: | |
|
|
pushd bin |
|
|
pushd bin |
|
|
zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap) |
|
|
zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap) |
|
|