[igt-dev] [PATCH i-g-t 2/4] gitlab-ci: Compile using autotools
Daniel Vetter
daniel at ffwll.ch
Wed Oct 24 13:07:20 UTC 2018
On Wed, Oct 24, 2018 at 04:00:02PM +0300, Arkadiusz Hiler wrote:
> Let's make sure that IGT compiles with autotools.
>
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Should we also test autotools tests, and distcheck? That stuff tends to
break, until someone needs to cut a release again :-)
Similar I guess for meson.
Just an aside, patch itself looks fine.
-Daniel
> ---
> .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
> --
> 2.17.2
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the igt-dev
mailing list