view ci/setup-xvfb.sh @ 28309:62689b6765d6 v8.2.4680

patch 8.2.4680: build failure without +postscript Commit: https://github.com/vim/vim/commit/242c152c08edbfaf17e8ae0b5d82841beabfa21a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 3 21:52:51 2022 +0100 patch 8.2.4680: build failure without +postscript Problem: Build failure without +postscript. Solution: Use another error message.
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 Apr 2022 23:00:03 +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