view ci/setup-xvfb.sh @ 28489:922cd0dced4b v8.2.4769

patch 8.2.4769: build warning with UCRT Commit: https://github.com/vim/vim/commit/68aaff4697bab4a278436e6f7ae042262223e51c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 17 10:57:44 2022 +0100 patch 8.2.4769: build warning with UCRT Problem: Build warning with UCRT. Solution: Adjust #ifdef for _wenviron. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 12:00:06 +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