Fix: [CI] Don't let SDL2 dependencies install too much stuff (#11537)

(cherry picked from commit 06b1bd3da4)
This commit is contained in:
Loïc Guilloux 2023-12-04 13:55:52 +01:00 committed by Jonathan G Rennison
parent 48cc6a686b
commit 714d2c04e4

View File

@ -104,6 +104,12 @@ jobs:
/vcpkg/vcpkg install python3 /vcpkg/vcpkg install python3
ln -sf /vcpkg/installed/x64-linux/tools/python3/python3.[0-9][0-9] /usr/bin/python3 ln -sf /vcpkg/installed/x64-linux/tools/python3/python3.[0-9][0-9] /usr/bin/python3
# SDL2 needs dbus, but dbus default install comes with libsystemd
# and some of libsystemd deps fail to build on our quite old linux.
# So just install basic dbus without any extra deps.
/vcpkg/vcpkg install dbus[core]
# Now we can install OpenTTD dependencies
/vcpkg/vcpkg install \ /vcpkg/vcpkg install \
curl[http2] \ curl[http2] \
fontconfig \ fontconfig \