view ci/setup-xvfb.sh @ 29012:f9775679df1f v8.2.5028

patch 8.2.5028: syntax regexp matching can be slow Commit: https://github.com/vim/vim/commit/02e8d4e4ffcdd6ee919e19692d591da8e18a565d Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 27 15:35:28 2022 +0100 patch 8.2.5028: syntax regexp matching can be slow Problem: Syntax regexp matching can be slow. Solution: Adjust the counters for checking the timeout to check about once per msec. (closes #10487, closes #2712)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 May 2022 16: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