view ci/setup-xvfb.sh @ 28936:5a34620140c0 v8.2.4990

patch 8.2.4990: memory leak when :defcompile fails Commit: https://github.com/vim/vim/commit/1a56ea8381b79c4e7697b6a05451dde5940228ea Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 21 16:28:42 2022 +0100 patch 8.2.4990: memory leak when :defcompile fails Problem: Memory leak when :defcompile fails. Solution: Free fname when returning early.
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 May 2022 17:30:02 +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