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. # sha256sum is not available by default
  25. - name: Installl dependencies for OSX
  26. if: matrix.os == 'osx'
  27. run: |
  28. echo "HOMEBREW_NO_AUTO_UPDATE=1" >> $GITHUB_ENV
  29. echo "$HOME/.local/bin" >> $GITHUB_PATH
  30. brew install coreutils
  31. - name: Install neovim binary
  32. run: |
  33. bash ./utils/installer/install-neovim-from-release
  34. - name: Install LunarVim
  35. timeout-minutes: 4
  36. run: |
  37. mkdir -p "$HOME/.local/share/lunarvim"
  38. mkdir -p "$HOME/.config/lvim"
  39. bash ./utils/installer/install.sh
  40. - name: Test LunarVim PackerCompile
  41. run: if "$HOME"/.local/bin/lvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  42. - name: Test LunarVim Health
  43. run: if "$HOME"/.local/bin/lvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  44. # freebsd:
  45. # runs-on: macos-latest
  46. # if: github.event.pull_request.draft == false
  47. # continue-on-error: true # we don't support freebsd yet
  48. # name: "FreeBSD macos-latest"
  49. # steps:
  50. # - uses: actions/checkout@v2
  51. # - name: Install dependencies for FreeBSD
  52. # uses: vmactions/freebsd-vm@v0.1.5
  53. # with:
  54. # prepare: pkg install -y curl neovim
  55. # run: bash ./utils/installer/install.sh
  56. # - name: Test LunarVim PackerCompile
  57. # uses: vmactions/freebsd-vm@v0.1.5
  58. # with:
  59. # run: if nvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
  60. # - name: Test LunarVim Health
  61. # uses: vmactions/freebsd-vm@v0.1.5
  62. # with:
  63. # run: if nvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi