view ci/setup-xvfb.sh @ 31225:39d22d78ce92 v9.0.0946

patch 9.0.0946: CI: Error in Coverity flow is not reported Commit: https://github.com/vim/vim/commit/ad85af5b384d8d36d7bd3e9b4086190d3a40ab15 Author: K.Takata <kentkt@csc.jp> Date: Fri Nov 25 00:57:05 2022 +0000 patch 9.0.0946: CI: Error in Coverity flow is not reported Problem: CI: Error in Coverity flow is not reported. Solution: Use another way to avoid errors in a forked repository. (Ken Takata, closes #11609)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Nov 2022 02: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