mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 13:40:13 +00:00
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:
8
.github/scripts/Windows/prepare_msys.sh
vendored
8
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -100,6 +100,13 @@ build_cineform() {
|
||||
)
|
||||
}
|
||||
|
||||
install_soundfont() {
|
||||
. "$GITHUB_WORKSPACE/.github/scripts/defs.sh"
|
||||
sf_dir="$GITHUB_WORKSPACE/data/Windows/share/soundfonts"
|
||||
mkdir -p "$sf_dir"
|
||||
curl -L "$DEFAULT_SF_URL" -o "$sf_dir/default.sf2"
|
||||
}
|
||||
|
||||
# Install cross-platform deps
|
||||
"$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh"
|
||||
|
||||
@@ -111,4 +118,5 @@ build_cineform() {
|
||||
|
||||
build_cineform
|
||||
install_aja
|
||||
install_soundfont
|
||||
|
||||
|
||||
Reference in New Issue
Block a user