Add regression tests for lua support

Change Dockerfile to install lua, luajit and love and also to install
nodejs 12 needed to build the lua debug adapter. Create the
love-headless test in support/test/lua to test love without an x server.
This commit is contained in:
Eduardo Mezêncio 2020-11-16 15:08:55 -03:00
commit 85865e0012
9 changed files with 137 additions and 7 deletions

View file

@ -4,6 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL C.UTF-8
RUN apt-get update && \
apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates \
software-properties-common && \
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
add-apt-repository ppa:bartbes/love-stable -y && \
apt-get update && \
apt-get -y dist-upgrade && \
apt-get -y install python3-dev \
python3-pip \
@ -17,9 +22,10 @@ RUN apt-get update && \
tcllib \
gdb \
lldb \
curl \
nodejs \
npm && \
lua5.1 \
luajit \
love && \
apt-get -y autoremove
RUN ln -fs /usr/share/zoneinfo/Europe/London /etc/localtime && \