1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 15:51:59 +00:00

Add docker for CI

This commit is contained in:
Alberto Fanjul 2018-12-25 09:52:06 +01:00
parent 46089b18f0
commit 3a459e5316

37
Dockerfile Normal file
View file

@ -0,0 +1,37 @@
FROM debian:buster-slim
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get install -y \
build-essential \
systemd \
libglib2.0-dev \
libreadline-dev \
libudev-dev \
libsystemd-dev \
libusb-dev \
automake \
autoconf \
libtool \
cmake \
meson
COPY . ./
RUN rm -rf build-autotools ; \
mkdir build-autotools; \
cd build-autotools; \
../autogen.sh; \
../configure; \
make; \
make check
RUN rm -rf build-cmake; \
mkdir build-cmake; \
cd build-cmake; \
cmake ..; \
make
RUN rm -rf build-meson; \
meson build-meson; \
ninja -C build-meson