mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 10:40:21 +00:00
CI Linux install_sdl.sh: ensure features
ensure required features explicitly on
This commit is contained in:
8
.github/scripts/Linux/install_sdl.sh
vendored
8
.github/scripts/Linux/install_sdl.sh
vendored
@@ -6,6 +6,11 @@ dir=$(dirname "$0")
|
||||
|
||||
# build dir that will be restored from cache
|
||||
cache_dir=/var/tmp/sdl
|
||||
features="-DSDL_KMSDRM=ON\
|
||||
-DSDL_OPENGL=ON\
|
||||
-DSDL_VULKAN=ON\
|
||||
-DSDL_WAYLAND=ON\
|
||||
-DSDL_X11=ON"
|
||||
|
||||
# install the deps - runs always (regardless the cache)
|
||||
deps() {
|
||||
@@ -33,7 +38,8 @@ build_install() {
|
||||
|
||||
git clone --recurse-submodules --depth 1\
|
||||
https://github.com/Fluidsynth/fluidsynth
|
||||
cmake -S fluidsynth -B fluidsynth/build
|
||||
# shellcheck disable=SC2086 # intentional
|
||||
cmake $features -S fluidsynth -B fluidsynth/build
|
||||
cmake --build fluidsynth/build -j "$(nproc)"
|
||||
sudo cmake --install fluidsynth/build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user