mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 16:40:12 +00:00
CI: add sountfont, not download
The size is only some 90 kB when compressed so it is perhaps not worth downloading from external source and depend on it. It could be even bundled directly, not by CI. Now it is actually the case in Linux (create-appimage.sh) but it is also possible for other platforms.
This commit is contained in:
5
.github/scripts/Linux/prepare.sh
vendored
5
.github/scripts/Linux/prepare.sh
vendored
@@ -53,11 +53,6 @@ sudo apt --no-install-recommends install asciidoc xmlto
|
||||
|
||||
sudo apt install qtbase5-dev
|
||||
|
||||
. "$GITHUB_WORKSPACE/.github/scripts/defs.sh"
|
||||
sf=$(basename "$DEFAULT_SF_URL")
|
||||
curl -L "$DEFAULT_SF_URL" -o "$HOME/$sf"
|
||||
printf '%b' "SDL_SOUNDFONTS=$HOME/$sf\n" >> "$GITHUB_ENV"
|
||||
|
||||
# Install cross-platform deps
|
||||
"$GITHUB_WORKSPACE/.github/scripts/install-common-deps.sh"
|
||||
|
||||
|
||||
3
.github/scripts/Windows/prepare_msys.sh
vendored
3
.github/scripts/Windows/prepare_msys.sh
vendored
@@ -100,10 +100,9 @@ https://github.com/CESNET/GPUJPEG/releases/download/continuous/GPUJPEG.zip
|
||||
)}
|
||||
|
||||
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.${DEFAULT_SF_URL##*.}"
|
||||
cp "$GITHUB_WORKSPACE/data/default.sf3" "$sf_dir"
|
||||
}
|
||||
|
||||
# Install cross-platform deps
|
||||
|
||||
1
.github/scripts/defs.sh
vendored
1
.github/scripts/defs.sh
vendored
@@ -1 +0,0 @@
|
||||
DEFAULT_SF_URL=http://frakira.fi.muni.cz/~xpulec/TimGM6mb_but_fixed__piano_.sf3 # https://musical-artifacts.com/artifacts/2642
|
||||
3
.github/scripts/macOS/install_others.sh
vendored
3
.github/scripts/macOS/install_others.sh
vendored
@@ -98,10 +98,9 @@ install_live555() {(
|
||||
)}
|
||||
|
||||
install_soundfont() {(
|
||||
. "$srcroot/.github/scripts/defs.sh"
|
||||
sf_dir="$srcroot/data/MacOS-bundle-template/Contents/share/soundfonts"
|
||||
mkdir -p "$sf_dir"
|
||||
curl -L "$DEFAULT_SF_URL" -o "$sf_dir/default.${DEFAULT_SF_URL##*.}"
|
||||
cp "$GITHUB_WORKSPACE/data/default.sf3" "$sf_dir"
|
||||
)}
|
||||
|
||||
install_syphon() {
|
||||
|
||||
Reference in New Issue
Block a user