view ci/setup-xvfb.sh @ 31841:c114394d8e84 v9.0.1253

patch 9.0.1253: CI adds repository unnecessarily Commit: https://github.com/vim/vim/commit/192e24d974522852bdca67db6d76ead87f57e677 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Jan 28 10:43:50 2023 +0000 patch 9.0.1253: CI adds repository unnecessarily Problem: CI adds repository unnecessarily. Solution: Remove the line from the workflow. (closes https://github.com/vim/vim/issues/11900)
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 11:45:06 +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