view ci/setup-xvfb.sh @ 30679:815b02faced9 v9.0.0674

patch 9.0.0674: build error with tiny version Commit: https://github.com/vim/vim/commit/4d31b48a114c106ec18ceaae9cfd084b8ca7faee Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 6 16:03:09 2022 +0100 patch 9.0.0674: build error with tiny version Problem: Build error with tiny version. Solution: Use PLINES_NOFILL macro.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Oct 2022 17:15:02 +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