diff options
| author | James McCoy <jamessan@jamessan.com> | 2022-02-20 07:35:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-20 07:35:35 -0500 |
| commit | 4b3fb4b17796ee6d9c8d7e8135a93b60cf09b016 (patch) | |
| tree | 1c536501a241e418a3fa85a159155735099da1b3 /.github/workflows | |
| parent | 13b13dcaa0a1ceb530582e8a42cd8d6392641c4d (diff) | |
| parent | 2446b25c6b3bc945f29377e1d4fc01dd3622e06b (diff) | |
| download | rneovim-4b3fb4b17796ee6d9c8d7e8135a93b60cf09b016.tar.gz rneovim-4b3fb4b17796ee6d9c8d7e8135a93b60cf09b016.tar.bz2 rneovim-4b3fb4b17796ee6d9c8d7e8135a93b60cf09b016.zip | |
Merge pull request #17469 from jamessan/use-sysdeps-for-lint-ci
Use system dependencies for lint CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 41 | ||||
| -rwxr-xr-x | .github/workflows/env.sh | 2 |
2 files changed, 36 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56fc6db576..2deadb0c4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,19 +29,46 @@ 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 }} + key: lint-${{ hashFiles('cmake/*', '**/CMakeLists.txt', '!third-party/**CMakeLists.txt') }}-${{ github.base_ref }} - - name: Build third-party - run: ./ci/before_script.sh + - name: Build nvim + run: ./ci/run_tests.sh build - if: "!cancelled()" name: clint diff --git a/.github/workflows/env.sh b/.github/workflows/env.sh index 0964995605..d424924c27 100755 --- a/.github/workflows/env.sh +++ b/.github/workflows/env.sh @@ -46,7 +46,9 @@ CLANG_SANITIZER=TSAN EOF ;; lint) + BUILD_FLAGS="$BUILD_FLAGS -DLIBLUV_LIBRARY:FILEPATH=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/lua/5.1/luv.so -DLIBLUV_INCLUDE_DIR:PATH=/usr/include/lua5.1" cat <<EOF >> "$GITHUB_ENV" +USE_BUNDLED=OFF CI_TARGET=lint EOF ;; |