From fa6dbf8c048961356fd642df047cb58ab49309b2 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 28 Sep 2018 16:05:59 +0300 Subject: Add GitLab's CI/CD configuration The CI/CD pipeline is configured the following way: 1. Build docker images and add them to repo's registry (manual step for now, automation needs GitLab to be updated). 2. Build igt with meson on Debian and Fedora. 3. Run `ninja tests` on Fedora. 4. Build and publish docs as an artifact, for GitLab Pages. v2: Typos and fully-featured meson build. v3: Use variables instead of hard-coding registry and project. Cc: Petri Latvala Cc: Daniel Vetter Signed-off-by: Arkadiusz Hiler Acked-by: Daniel Vetter Acked-by: Petri Latvala --- Dockerfile.debian | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Dockerfile.debian (limited to 'Dockerfile.debian') diff --git a/Dockerfile.debian b/Dockerfile.debian new file mode 100644 index 00000000..1c70f015 --- /dev/null +++ b/Dockerfile.debian @@ -0,0 +1,35 @@ +FROM debian:stretch-backports + +RUN apt-get update +RUN apt-get install -y \ + gcc \ + flex \ + bison \ + pkg-config \ + libpciaccess-dev \ + libkmod-dev \ + libprocps-dev \ + libunwind-dev \ + libdw-dev \ + zlib1g-dev \ + liblzma-dev \ + libssl-dev \ + libcairo-dev \ + libpixman-1-dev \ + libudev-dev \ + libgsl-dev \ + libasound2-dev \ + libxmlrpc-core-c3-dev \ + libjson-c-dev \ + libcurl4-openssl-dev \ + libxrandr-dev \ + libxv-dev \ + x11proto-dri2-dev \ + python-docutils \ + valgrind \ + peg + +RUN apt-get install -t stretch-backports -y \ + meson \ + libdrm-dev \ + libdrm-intel1 -- cgit v1.2.3