view ci/setup-xvfb.sh @ 23209:1984a3fcc953 v8.2.2150

patch 8.2.2150: Github actions CI isn't used for all available platforms Commit: https://github.com/vim/vim/commit/8ea05de6aa1d133cba3381bcc36adf1736b08e00 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 17 20:27:26 2020 +0100 patch 8.2.2150: Github actions CI isn't used for all available platforms Problem: Github actions CI isn't used for all available platforms. Solution: Update the github workflows. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7433)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Dec 2020 20:30:04 +0100
parents
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