-
Notifications
You must be signed in to change notification settings - Fork 13
51 lines (44 loc) · 1.27 KB
/
tmate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: tmate
on:
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Neovim nightly
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Setup Kitty
run: |
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y xfce4 xfce4-goodies libxcb-xkb1
- name: Test kitty-scrollback.nvim
run: |
Xvfb :1 -screen 0 1024x768x16 &
export PATH=$HOME/.local/kitty.app/bin:$PATH
export DISPLAY=:1
cat <<EOF >> "$HOME/.bashrc"
export PATH=$HOME/.local/kitty.app/bin:$PATH"
export DISPLAY=:1'
export PS1='\[\e[34m\]$ \[\e[m\]'
EOF
# mkdir -p "$GITHUB_WORKSPACE/tmp/out"
make test
# make test | tee "$GITHUB_WORKSPACE/tmp/out/make-test.log"
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: output
# path: ${{ github.workspace }}/tmp/out/*