view ci/setup-xvfb.sh @ 32272:2df0f9779992 v9.0.1467

patch 9.0.1467: Jenkinsfiles are not recognized as groovy Commit: https://github.com/vim/vim/commit/142ffb024dd5123090c2fd02f55702e76520f1df Author: dundargoc <gocdundar@gmail.com> Date: Tue Apr 18 20:53:22 2023 +0100 patch 9.0.1467: Jenkinsfiles are not recognized as groovy Problem: Jenkinsfiles are not recognized as groovy. Solution: Add a pattern for Jenkinsfiles. (closes https://github.com/vim/vim/issues/12236)
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Apr 2023 22:00:04 +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