From 44788b71ce0ae3d925e892aaf84a0f554d5db8fe Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 1 Sep 2025 09:17:27 +0200 Subject: [PATCH] CI Linux install_sdl.sh: ensure features ensure required features explicitly on --- .github/scripts/Linux/install_sdl.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/scripts/Linux/install_sdl.sh b/.github/scripts/Linux/install_sdl.sh index 02ce10a10..40ef6b586 100755 --- a/.github/scripts/Linux/install_sdl.sh +++ b/.github/scripts/Linux/install_sdl.sh @@ -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 }