view ci/setup-xvfb.sh @ 26879:da89514c3b72 v8.2.3968

patch 8.2.3968: build failure Commit: https://github.com/vim/vim/commit/e70cec976026ce72d09b6589ebba4677581063ac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:25:55 2022 +0000 patch 8.2.3968: build failure Problem: Build failure. Solution: Add missing changes.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:06 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service