ci: install build deps later

This commit is contained in:
Lewis Russell 2022-08-19 12:24:29 +01:00 committed by Lewis Russell
parent 536d6963f0
commit 79c55eb553

View File

@ -33,24 +33,8 @@ jobs:
NEOVIM_BRANCH: ${{ matrix.neovim_branch }}
steps:
- uses: actions/checkout@v2
- name: Setup build dependencies
run: |
sudo apt update &&
sudo apt install -y \
autoconf \
automake \
cmake \
g++ \
gettext \
gperf \
libtool \
libtool-bin \
lua-bitop \
ninja-build \
pkg-config \
unzip
- name: Checkout
uses: actions/checkout@v2
- name: Install LuaJIT
uses: leafo/gh-actions-lua@v9
@ -78,6 +62,24 @@ jobs:
- name: Check lua files are built from latest teal
run: make tl-ensure
- name: Install Neovim build dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: |
sudo apt update &&
sudo apt install -y \
autoconf \
automake \
cmake \
g++ \
gettext \
gperf \
libtool \
libtool-bin \
lua-bitop \
ninja-build \
pkg-config \
unzip
- name: Build Neovim
if: steps.cache-deps.outputs.cache-hit != 'true'
run: make deps/neovim NEOVIM_BRANCH=$NEOVIM_BRANCH