CI Linux install_sdl.sh: ensure features

ensure required features explicitly on
This commit is contained in:
Martin Pulec
2025-09-01 09:17:27 +02:00
parent d473bc00d0
commit 44788b71ce

View File

@@ -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
}