install.yaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: install
  2. on:
  3. push:
  4. branches: '**'
  5. pull_request:
  6. branches:
  7. - 'master'
  8. - 'rolling'
  9. jobs:
  10. unixish:
  11. name: ${{ matrix.os }} ${{ matrix.runner }}
  12. strategy:
  13. fail-fast: false
  14. matrix:
  15. include:
  16. - runner: ubuntu-20.04
  17. os: linux
  18. - runner: macos-10.15
  19. os: osx
  20. runs-on: ${{ matrix.runner }}
  21. if: github.event.pull_request.draft == false
  22. steps:
  23. - uses: actions/checkout@v2
  24. - name: Install dependencies for Linux
  25. if: matrix.os == 'linux'
  26. run: |
  27. sudo apt-get install -y gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip build-essential
  28. sudo add-apt-repository ppa:neovim-ppa/unstable -y
  29. sudo apt-get update
  30. sudo apt-get install neovim -y
  31. - name: Installl dependencies for OSX
  32. if: matrix.os == 'osx'
  33. run: |
  34. brew update >/dev/null
  35. brew install neovim
  36. - name: Install LunarVim
  37. run: |
  38. bash ./utils/installer/install.sh --testing
  39. - name: Test LunarVim PackerCompile
  40. run: if lvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  41. - name: Test LunarVim Health
  42. run: if lvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  43. # freebsd:
  44. # runs-on: macos-latest
  45. # if: github.event.pull_request.draft == false
  46. # continue-on-error: true # we don't support freebsd yet
  47. # name: "FreeBSD macos-latest"
  48. # steps:
  49. # - uses: actions/checkout@v2
  50. # - name: Install dependencies for FreeBSD
  51. # uses: vmactions/freebsd-vm@v0.1.5
  52. # with:
  53. # prepare: pkg install -y curl neovim
  54. # run: bash ./utils/installer/install.sh
  55. # - name: Test LunarVim PackerCompile
  56. # uses: vmactions/freebsd-vm@v0.1.5
  57. # with:
  58. # run: if nvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  59. # - name: Test LunarVim Health
  60. # uses: vmactions/freebsd-vm@v0.1.5
  61. # with:
  62. # run: if nvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi