aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-02-19 19:11:28 -0500
committerJames McCoy <jamessan@jamessan.com>2022-02-19 20:35:04 -0500
commit8cd4c114941936932559d29f64a57e39ab47c5f8 (patch)
tree57009e765d3da12ed2efc2df2bf0b7b0facaa2d3
parent8b3799e2c33282bf417ddee15ae71b5aba613c16 (diff)
downloadrneovim-8cd4c114941936932559d29f64a57e39ab47c5f8.tar.gz
rneovim-8cd4c114941936932559d29f64a57e39ab47c5f8.tar.bz2
rneovim-8cd4c114941936932559d29f64a57e39ab47c5f8.zip
ci(lint): install deps via apt instead of building from third-party
-rw-r--r--.github/workflows/ci.yml40
1 files changed, 32 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 34b73e8ef4..844ceb5927 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,19 +29,43 @@ jobs:
- name: Install apt packages
run: |
+ sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
- sudo apt-get install -y autoconf automake build-essential ccache cmake gettext gperf libtool-bin locales ninja-build pkg-config flake8
-
- - name: Cache dependencies
+ sudo apt-get install -y \
+ autoconf \
+ automake \
+ build-essential \
+ ccache \
+ cmake \
+ flake8 \
+ gettext \
+ gperf \
+ libluajit-5.1-dev \
+ libmsgpack-dev \
+ libtermkey-dev \
+ libtool-bin \
+ libtree-sitter-dev \
+ libunibilium-dev \
+ libuv1-dev \
+ libvterm-dev \
+ locales \
+ lua-busted \
+ lua-check \
+ lua-filesystem \
+ lua-inspect \
+ lua-lpeg \
+ lua-luv-dev \
+ lua-nvim \
+ luajit \
+ ninja-build \
+ pkg-config
+
+ - name: Cache artifacts
uses: actions/cache@v2
with:
path: |
- ${{ env.CACHE_NVIM_DEPS_DIR }}
~/.ccache
- key: lint-${{ hashFiles('cmake/*', 'third-party/**', '**/CMakeLists.txt') }}-${{ github.base_ref }}
-
- - name: Build third-party
- run: ./ci/before_script.sh
+ key: lint-${{ hashFiles('cmake/*', '**/CMakeLists.txt', '!third-party/**CMakeLists.txt') }}-${{ github.base_ref }}
- if: "!cancelled()"
name: clint