aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/env.sh
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-25 20:33:18 +0100
committerGitHub <noreply@github.com>2023-01-25 20:33:18 +0100
commit15394b6855c3b17be06bf2bfbac7797d9c3ebf1d (patch)
tree85c77dd94a663d7a01d2c41265f8aa428eee2563 /.github/workflows/env.sh
parent3c48d3c83fc21dbc0841f9210f04bdb073d73cd1 (diff)
downloadrneovim-15394b6855c3b17be06bf2bfbac7797d9c3ebf1d.tar.gz
rneovim-15394b6855c3b17be06bf2bfbac7797d9c3ebf1d.tar.bz2
rneovim-15394b6855c3b17be06bf2bfbac7797d9c3ebf1d.zip
ci: fix lintc to use external dependencies instead of bundled (#21995)
Use the bundled libvterm dependency as the external package is outdated, with the hopes of being able to use the external package once its version meets our required version. Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Diffstat (limited to '.github/workflows/env.sh')
-rwxr-xr-x.github/workflows/env.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/env.sh b/.github/workflows/env.sh
index d93552fed3..2c3fbf9ef2 100755
--- a/.github/workflows/env.sh
+++ b/.github/workflows/env.sh
@@ -44,13 +44,15 @@ EOF
BUILD_UCHAR=1
EOF
;;
- lint)
+ lintc)
# Re-enable once system deps are available
# 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"
- DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED_LUV=ON"
- cat <<EOF >> "$GITHUB_ENV"
-USE_BUNDLED=OFF
-EOF
+
+ # Ideally all dependencies should external for this job, but some
+ # dependencies don't have the required version available. We use the
+ # bundled versions for these with the hopes of being able to remove them
+ # later on.
+ DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED=OFF -DUSE_BUNDLED_LUV=ON -DUSE_BUNDLED_LIBVTERM=ON"
;;
functionaltest-lua)
BUILD_FLAGS="$BUILD_FLAGS -DPREFER_LUA=ON"