diff options
Diffstat (limited to '.github/workflows/install.yaml')
-rw-r--r-- | .github/workflows/install.yaml | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml index 08801f1b..fa8bf0e3 100644 --- a/.github/workflows/install.yaml +++ b/.github/workflows/install.yaml @@ -1,11 +1,11 @@ name: install on: push: - branches: '**' + branches: "**" pull_request: branches: - - 'master' - - 'rolling' + - "master" + - "rolling" jobs: unixish: @@ -22,31 +22,32 @@ jobs: if: github.event.pull_request.draft == false steps: - uses: actions/checkout@v2 - - - name: Install dependencies for Linux - if: matrix.os == 'linux' - run: | - sudo add-apt-repository ppa:neovim-ppa/unstable -y - sudo apt-get update - sudo apt-get install neovim -y - - name: Install dependencies for OSX + # sha256sum is not available by default + - name: Installl dependencies for OSX if: matrix.os == 'osx' run: | - brew update >/dev/null - brew install neovim + echo "HOMEBREW_NO_AUTO_UPDATE=1" >> $GITHUB_ENV + echo "$HOME/.local/bin" >> $GITHUB_PATH + brew install coreutils + + - name: Install neovim binary + run: | + bash ./utils/installer/install-neovim-from-release - name: Install LunarVim timeout-minutes: 4 run: | - bash ./utils/installer/install.sh --testing + mkdir -p "$HOME"/.local/share/lunarvim/lvim + mkdir -p "$HOME"/.config/lvim + ln -s "$PWD"/* "$HOME"/.local/share/lunarvim/lvim/. + bash ./utils/installer/install.sh - name: Test LunarVim PackerCompile - run: if lvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi + run: if "$HOME"/.local/bin/lvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi - name: Test LunarVim Health - run: if lvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi - + run: if "$HOME"/.local/bin/lvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi # freebsd: # runs-on: macos-latest # if: github.event.pull_request.draft == false @@ -54,7 +55,7 @@ jobs: # name: "FreeBSD macos-latest" # steps: # - uses: actions/checkout@v2 - + # - name: Install dependencies for FreeBSD # uses: vmactions/[email protected] # with: |