39 lines
919 B
YAML
39 lines
919 B
YAML
name: Try loading the plugin into nvim
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-22.04]
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Prepare system
|
|
run: |
|
|
apt-get update -qy
|
|
apt install -y libc6 cmake gcc make
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
if [ "$(uname -m)" == "x86_64" ]; then
|
|
wget -O /bin/nvim https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
|
chmod +x /bin/nvim
|
|
else
|
|
wget -O /bin/nvim https://www.nickr.eu/data/nvim
|
|
chmod +x /bin/nvim
|
|
fi
|
|
|
|
- name: Load plugin into neovim
|
|
run: |
|
|
mkdir -p ~/.local/share/nvim/site/pack/plugins/start/
|
|
cp -r $(pwd) ~/.local/share/nvim/site/pack/plugins/start/$(basename "$(pwd)")
|
|
|
|
- name: Run neovim
|
|
run: |
|
|
nvim -es
|