view ci/setup-xvfb.sh @ 27643:517daf1a6e5b v8.2.4347

patch 8.2.4347: in some build setups UNUSED is not defined Commit: https://github.com/vim/vim/commit/bd89d4406327d3a30517443a4a518f49ebc99368 Author: ola.soder@axis.com <ola.soder@axis.com> Date: Fri Feb 11 19:27:55 2022 +0000 patch 8.2.4347: in some build setups UNUSED is not defined Problem: In some build setups UNUSED is not defined. Solution: Change the logic of how UNUSED is defined. (Ola S?der, closes #9734)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Feb 2022 20:30:03 +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