2021-07-15 02:51:32 +02:00
|
|
|
name: install
|
|
|
|
on:
|
|
|
|
push:
|
2021-09-30 18:53:14 +02:00
|
|
|
branches: ["**"]
|
2021-07-15 02:51:32 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-08-23 17:18:42 +02:00
|
|
|
- "master"
|
|
|
|
- "rolling"
|
2021-07-15 02:51:32 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
unixish:
|
|
|
|
name: ${{ matrix.os }} ${{ matrix.runner }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2021-07-20 17:05:35 +02:00
|
|
|
- runner: ubuntu-20.04
|
|
|
|
os: linux
|
2021-07-15 02:51:32 +02:00
|
|
|
- runner: macos-10.15
|
|
|
|
os: osx
|
|
|
|
runs-on: ${{ matrix.runner }}
|
|
|
|
if: github.event.pull_request.draft == false
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
2021-08-15 18:01:37 +02:00
|
|
|
- name: Install neovim binary
|
|
|
|
run: |
|
2021-09-13 11:10:07 +02:00
|
|
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
2021-08-15 18:01:37 +02:00
|
|
|
bash ./utils/installer/install-neovim-from-release
|
2021-07-15 02:51:32 +02:00
|
|
|
|
|
|
|
- name: Install LunarVim
|
2021-07-29 09:13:40 +02:00
|
|
|
timeout-minutes: 4
|
2021-07-15 02:51:32 +02:00
|
|
|
run: |
|
2021-09-30 18:53:14 +02:00
|
|
|
./utils/installer/install.sh --local --no-install-dependencies
|
2021-07-15 02:51:32 +02:00
|
|
|
|
2021-09-13 11:10:07 +02:00
|
|
|
- name: Run unit-tests
|
|
|
|
# NOTE: make sure to adjust the timeout if you start adding a lot of tests
|
|
|
|
timeout-minutes: 4
|
|
|
|
run: make test
|
2021-07-15 03:46:02 +02:00
|
|
|
# freebsd:
|
|
|
|
# runs-on: macos-latest
|
|
|
|
# if: github.event.pull_request.draft == false
|
|
|
|
# continue-on-error: true # we don't support freebsd yet
|
|
|
|
# name: "FreeBSD macos-latest"
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v2
|
2021-08-23 17:18:42 +02:00
|
|
|
|
2021-07-15 03:46:02 +02:00
|
|
|
# - name: Install dependencies for FreeBSD
|
|
|
|
# uses: vmactions/freebsd-vm@v0.1.5
|
|
|
|
# with:
|
|
|
|
# prepare: pkg install -y curl neovim
|
|
|
|
# run: bash ./utils/installer/install.sh
|
2021-07-15 02:51:32 +02:00
|
|
|
|
2021-07-15 03:46:02 +02:00
|
|
|
# - name: Test LunarVim PackerCompile
|
|
|
|
# uses: vmactions/freebsd-vm@v0.1.5
|
|
|
|
# with:
|
|
|
|
# run: if nvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
|
2021-07-15 02:51:32 +02:00
|
|
|
|
2021-07-15 03:46:02 +02:00
|
|
|
# - name: Test LunarVim Health
|
|
|
|
# uses: vmactions/freebsd-vm@v0.1.5
|
|
|
|
# with:
|
|
|
|
# run: if nvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi
|
2021-07-15 02:51:32 +02:00
|
|
|
|