diff options
author | Eric Engestrom <eric.engestrom@intel.com> | 2018-10-19 14:30:10 +0100 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@intel.com> | 2018-10-19 14:45:50 +0100 |
commit | 891f46cae439b2aebd216a078a90a5516ce35726 (patch) | |
tree | f5e10d05a099957364e51b25c77fddbad6aabc1f /.gitlab-ci.yml | |
parent | 1bb5b38316003d355f60ecc398b1361dcd9ee16b (diff) | |
download | kmscube-891f46cae439b2aebd216a078a90a5516ce35726.tar.gz |
add a trivial build-test ci
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..04b8758 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,53 @@ +.artifacts-autotools: &artifacts-autotools + when: always + paths: + - _build/*.log + +.autotools-build: &autotools-build + - mkdir _build + - cd _build + - ../autogen.sh + - make + +latest-autotools: + stage: build + image: base/archlinux:latest + artifacts: *artifacts-autotools + before_script: + - pacman -Syu --noconfirm --needed + base-devel + libdrm + mesa + gstreamer + gst-plugins-base + git # autogen.sh depends on git + script: *autotools-build + +oldest-autotools: + stage: build + image: debian:stable + artifacts: *artifacts-autotools + before_script: + - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n" + 'path-exclude=/usr/share/doc/*' + 'path-exclude=/usr/share/man/*' + - printf > /usr/sbin/policy-rc.d "%s\n" + '#!/bin/sh' + 'exit 101' + - chmod +x /usr/sbin/policy-rc.d + - apt-get update + - apt-get -y --no-install-recommends install + build-essential + automake + autoconf + libtool + pkg-config + libdrm-dev + libgbm-dev + libegl1-mesa-dev + libgles2-mesa-dev + libgstreamer1.0-dev + gstreamer1.0-plugins-base + gstreamer1.0-plugins-base-apps + git # autogen.sh depends on git + script: *autotools-build |