File tree 3 files changed +14
-5
lines changed
3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.7
1
+ FROM alpine:3.8
2
2
3
3
RUN apk --no-cache upgrade
4
4
Original file line number Diff line number Diff line change 1
1
.PHONY : build push test
2
2
3
- TAG: =10
3
+ TAG: =11
4
4
5
5
build :
6
6
docker build -t testbed/vim:$(TAG ) .
Original file line number Diff line number Diff line change 107
107
if [ $LUA -eq 1 ]; then
108
108
if [ " $FLAVOR " = vim ]; then
109
109
CONFIG_ARGS=" $CONFIG_ARGS --enable-luainterp"
110
- apk add --virtual vim-build lua -dev
111
- apk add lua
110
+ apk add --virtual vim-build lua5.3 -dev
111
+ apk add lua5.3-libs
112
112
else
113
113
echo ' NOTE: -lua is automatically used with Neovim 0.2.1+, and not supported before.'
114
114
fi
@@ -199,10 +199,19 @@ build() {
199
199
make install || bail " Install failed"
200
200
201
201
elif [ " $FLAVOR " = neovim ]; then
202
+ DEPS_CMAKE_FLAGS=" -DUSE_BUNDLED=OFF"
203
+
204
+ # Use bundled unibilium with older releases that data directly, and not
205
+ # through unibi_var_from_num like it is required now.
206
+ if ! grep -qF ' unibi_var_from_num' src/nvim/tui/tui.c; then
207
+ DEPS_CMAKE_FLAGS=" $DEPS_CMAKE_FLAGS -DUSE_BUNDLED_UNIBILIUM=ON"
208
+ fi
209
+
210
+ head_info=$( curl --retry 3 -SL " https://api.github.com/repos/$repo /git/refs/heads/$tag " )
202
211
make CMAKE_BUILD_TYPE=RelWithDebInfo \
203
212
CMAKE_EXTRA_FLAGS=" -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
204
213
-DENABLE_JEMALLOC=OFF" \
205
- DEPS_CMAKE_FLAGS=" -DUSE_BUNDLED=OFF " \
214
+ DEPS_CMAKE_FLAGS=" $DEPS_CMAKE_FLAGS " \
206
215
|| bail " Make failed"
207
216
208
217
versiondef_file=build/config/auto/versiondef.h
You can’t perform that action at this time.
0 commit comments