annotate ci/setup-xvfb.sh @ 23442:f00d6ff51046 v8.2.2264

patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef Commit: https://github.com/vim/vim/commit/5178b1b02fc96f42d62199a4be9184c2aea8a49a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 1 18:43:51 2021 +0100 patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef Problem: Vim9: no error for mismatched :endfunc or :enddef. Solution: Check for the mismatch. (issue https://github.com/vim/vim/issues/7582)
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Jan 2021 18:45:03 +0100
parents 1984a3fcc953
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23209
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 #!/bin/bash
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 set -e
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 apt-get install -y xvfb
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 cat <<EOT >/etc/systemd/system/xvfb.service
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 [Unit]
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 Description=X Virtual Frame Buffer Service
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 After=network.target
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 [Service]
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 [Install]
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 WantedBy=multi-user.target
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 EOT
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 systemctl enable xvfb.service
1984a3fcc953 patch 8.2.2150: Github actions CI isn't used for all available platforms
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 systemctl start xvfb.service