view ci/setup-xvfb.sh @ 32497:882402ba6e47 v9.0.1580

patch 9.0.1580: CI: indent test hangs on FreeBSD Commit: https://github.com/vim/vim/commit/9f3afe7a70d50447424b8d7404aae0d641cd827c Author: ichizok <gclient.gaap@gmail.com> Date: Fri May 26 14:40:45 2023 +0100 patch 9.0.1580: CI: indent test hangs on FreeBSD Problem: CI: indent test hangs on FreeBSD. Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi, closes #12446)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 May 2023 15: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