view ci/setup-xvfb.sh @ 23372:86d155b29dd7 v8.2.2229

patch 8.2.2229: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/39cb2dab18e85fc60f116a4543e433616872b690 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 27 17:35:18 2020 +0100 patch 8.2.2229: build failure without the +eval feature Problem: build failure without the +eval feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Dec 2020 17:45:04 +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