CI: Don't install weak dependencies (Recommends)
authorSimon McVittie <smcv@collabora.com>
Wed, 5 Dec 2018 13:16:10 +0000 (13:16 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 25 Feb 2022 13:04:20 +0000 (13:04 +0000)
commit52c881487ddc0fe356af23d3834ba24bb8eb52ba
tree112f28ac6375cc5cf8c547b40598d3ee36878fa5
parent787b9e963347dd26804dabe466038b0329efe0fc
CI: Don't install weak dependencies (Recommends)

In particular this avoids installing the TeX toolchain.

However, this also means we don't install dbus, which broke some tests
in minimal containers where dbus wasn't already installed, because the
messagebus user wouldn't have been created. Make sure that user exists,
using the same adduser call as the Debian dbus package.

CMake really wants to find a C++ compiler (even though we only use C++
when compiling for Windows), so explicitly install the default
version of the GNU C++ compiler, g++.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit cb6abc63919d6f84f634aee94d20c53d2759c382)
tools/ci-install.sh