view ci/setup-xvfb.sh @ 28664:0e589fdf0081 v8.2.4856

patch 8.2.4856: MinGW compiler complains about unknown escape sequence Commit: https://github.com/vim/vim/commit/2890c0b9d2416489d48bc47567378503997fef84 Author: Christian Brabandt <cb@256bit.org> Date: Mon May 2 10:34:15 2022 +0100 patch 8.2.4856: MinGW compiler complains about unknown escape sequence Problem: MinGW compiler complains about unknown escape sequence. Solution: Avoid using a backslash in path. (Christian Brabandt, closes #10337)
author Bram Moolenaar <Bram@vim.org>
date Mon, 02 May 2022 11:45:04 +0200
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