sdl_mixer: try to open from common path

Copy sounfont to known path for macOS and Windows CI builds (in Linux,
this is already handled with a environment var SDL_SOUNDFONTS). And also
use that location if there is any soundfont.
This commit is contained in:
Martin Pulec
2023-04-28 09:02:57 +02:00
parent bafe32c876
commit b8ce258d4d
7 changed files with 40 additions and 3 deletions

View File

@@ -103,6 +103,13 @@ install_live555() {
cd ..
}
install_soundfont() {
. "$GITHUB_WORKSPACE/.github/scripts/defs.sh"
sf_dir="$GITHUB_WORKSPACE/data/MacOS-bundle-template/Contents/share/soundfonts"
mkdir -p "$sf_dir"
curl -L "$DEFAULT_SF_URL" -o "$sf_dir/default.sf2"
}
install_syphon() {
wget --no-verbose https://github.com/Syphon/Syphon-Framework/releases/download/5/Syphon.SDK.5.zip
unzip Syphon.SDK.5.zip
@@ -117,6 +124,7 @@ install_deltacast
install_glfw
install_live555
install_ndi
install_soundfont
install_syphon
install_ximea