Install xvfb when using a container

Unlike the full GitHub environment, this package is not pre-installed in
a "plain" Ubuntu container.
This commit is contained in:
Vadim Zeitlin 2022-10-09 01:40:31 +02:00
parent d088c61b39
commit 256d7296b2

View file

@ -148,8 +148,9 @@ jobs:
# - Python can't be installed using the action as usual because
# it installs an ABI-incompatible version, see (wrongly, IMO)
# closed https://github.com/actions/setup-python/issues/370
# - xvfb is used for running the GUI tests.
apt-get update -qq
apt-get install -qq coreutils g++ git locales make pkg-config python3 python3-pip sudo
apt-get install -qq coreutils g++ git locales make pkg-config python3 python3-pip sudo xvfb
;;
'')