Skip to content

chore(master): release 9.0.2 #635

chore(master): release 9.0.2

chore(master): release 9.0.2 #635

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
release-build: nvim-linux64.tar.gz
version: nightly
- os: macos-12
release-build: nvim-macos-x86_64.tar.gz
version: nightly
steps:
- uses: actions/checkout@v3
- name: prepare
run: |
test -d nvim || {
mkdir -p nvim
curl -sL "https://github.com/neovim/neovim/releases/download/${{ matrix.version }}/${{ matrix.release-build }}" \
| tar xzf - --strip-components=1 -C "${PWD}/nvim"
}
DATA_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}"
NVIM_PACK_START="${DATA_HOME}/nvim/site/pack/packages/start"
mkdir -p "${NVIM_PACK_START}"
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim "${NVIM_PACK_START}/plenary.nvim"
FZF_DIR="${NVIM_PACK_START}/telescope-fzf-native.nvim"
git clone --depth 1 "https://github.com/nvim-telescope/telescope-fzf-native.nvim" "${FZF_DIR}"
cmake "-S${FZF_DIR}" "-B${FZF_DIR}/build" -DCMAKE_BUILD_TYPE=Release && cmake --build "${FZF_DIR}/build" --config Release && cmake --install "${FZF_DIR}/build" --prefix "${FZF_DIR}/build"
ln -s "${PWD}" "${NVIM_PACK_START}"
- name: run tests
run: |
export PATH="${PWD}/nvim/bin:${PATH}"
export VIM="${PWD}/nvim/share/nvim/runtime"
nvim --version
make test