view ci/setup-xvfb.sh @ 27794:77a95d7d5676 v8.2.4423

patch 8.2.4423: "make nvcmdidxs" fails Commit: https://github.com/vim/vim/commit/d56eb654f50434ea590142c0f080efba91bfe7f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 19 16:00:16 2022 +0000 patch 8.2.4423: "make nvcmdidxs" fails Problem: "make nvcmdidxs" fails. Solution: Use "-S" instead of "-u" to source the script.
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Feb 2022 17:15:02 +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