view ci/setup-xvfb.sh @ 29109:c1c795a61545 v8.2.5075

patch 8.2.5075: clang gives an out of bounds warning Commit: https://github.com/vim/vim/commit/b74e04649168aec579183dfef70b8784d2afe993 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 10 14:52:35 2022 +0100 patch 8.2.5075: clang gives an out of bounds warning Problem: Clang gives an out of bounds warning. Solution: adjust conditional expression (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Jun 2022 16:00:05 +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