view ci/setup-xvfb.sh @ 30469:8734a8d7c4ba v9.0.0570

patch 9.0.0570: CI for Windows is still using codecov action 3.1.0 Commit: https://github.com/vim/vim/commit/d3eafdd7098e5e47a3e93474a624cb0ba1a874c9 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Sep 24 13:00:53 2022 +0100 patch 9.0.0570: CI for Windows is still using codecov action 3.1.0 Problem: CI for Windows is still using codecov action 3.1.0. Solution: Use action 3.1.1. (closes https://github.com/vim/vim/issues/11212)
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Sep 2022 14:15:03 +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