view ci/setup-xvfb.sh @ 31477:e8fcb04c96c9 v9.0.1071

patch 9.0.1071: Codecov action version is too specific Commit: https://github.com/vim/vim/commit/b5328b46a79d1383fb1d7d193e7271efcf2f996a Author: dundargoc <gocdundar@gmail.com> Date: Sat Dec 17 15:47:45 2022 +0000 patch 9.0.1071: Codecov action version is too specific Problem: Codecov action version is too specific. Solution: Only use "v3" to automatically use the latest stable version. (closes #11720)
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Dec 2022 17:00:04 +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