-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate built plugins on CI, cleanup
Signed-off-by: falkTX <[email protected]>
- Loading branch information
Showing
8 changed files
with
68 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mod-host
updated
from b133f0 to dca85d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
|
||
# set -eE | ||
|
||
cd "$(dirname $0)/../../build" | ||
|
||
export LANG=en_US.UTF-8 | ||
export PAWPAW_SKIP_LTO=1 | ||
export PAWPAW_QUIET=1 | ||
|
||
function convert_path() { | ||
if [ -e jackd.exe ]; then | ||
echo "Z:\\$(echo ${@} | tr '/' '\\')" | ||
else | ||
echo ${@} | ||
fi | ||
} | ||
|
||
if [ -e mod-ui.exe ]; then | ||
source ../PawPaw/local.env win64 | ||
LV2_PATH="$(convert_path $(pwd)/plugins)" | ||
OS_SEP="\\" | ||
elif [ -e mod-app.app ]; then | ||
source ../PawPaw/local.env macos-universal-10.15 | ||
LV2_PATH="$(pwd)/mod-app.app/Contents/PlugIns/LV2" | ||
OS_SEP='/' | ||
else | ||
source ../PawPaw/local.env linux | ||
LV2_PATH="$(pwd)/mod-app.app/Contents/PlugIns/LV2" | ||
OS_SEP='/' | ||
fi | ||
|
||
export LV2_PATH | ||
|
||
export CARLA_BRIDGE_DUMMY=1 | ||
export CARLA_BRIDGE_TESTING=1 | ||
export MOD_KEYS_PATH="$(convert_path ${DOCS_DIR}/MOD App/keys/)" | ||
export MOD_USER_FILES_DIR="$(convert_path ${DOCS_DIR}/MOD App/user-files)" | ||
export WINEDEBUG=-all | ||
|
||
set -e | ||
|
||
PLUGINS=($(${EXE_WRAPPER} "${PAWPAW_PREFIX}/lib/carla/carla-discovery-native${APP_EXT}" lv2 ":all" 2>/dev/null | tr -dC '[:print:]\n' | awk 'sub("carla-discovery::label::","")')) | ||
|
||
for p in ${PLUGINS[@]}; do | ||
uri=$(echo ${p} | cut -d "${OS_SEP}" -f 2) | ||
echo "Testing ${uri}..." | ||
${EXE_WRAPPER} "${PAWPAW_PREFIX}/lib/carla/carla-bridge-native${APP_EXT}" lv2 "" "${uri}" 1>/dev/null | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters