[igt-dev] [PATCH i-g-t 2/4] gitlab-ci: Compile using autotools

Arkadiusz Hiler
2018-10-24T13:00:12Z

Let's make sure that IGT compiles with autotools.

Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
.gitlab-ci.yml | 7 +++++++
Dockerfile.debian | 8 ++++++++
2 files changed, 15 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 030b3405..394cd86d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,13 @@ build:tests-debian:
- meson $MESON_OPTIONS build
- ninja -C build

+build:tests-debian-autotools:
+ image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
+ stage: build
+ script:
+ - ./autogen.sh --enable-{chamelium,audio,intel,amdgpu,nouveau,tests,runner}
+ - make -j
+
ninja:test:
stage: test
script:
diff --git a/Dockerfile.debian b/Dockerfile.debian
index 1c70f015..104906c1 100644
--- a/Dockerfile.debian
+++ b/Dockerfile.debian
@@ -33,3 +33,11 @@ RUN apt-get install -t stretch-backports -y \
meson \
libdrm-dev \
libdrm-intel1
+
+# autotools build deps
+RUN apt-get install -y \
+ autoconf \
+ automake \
+ xutils-dev \
+ libtool \
+ make