1 .artifacts-meson: &artifacts-meson
6 .artifacts-autotools: &artifacts-autotools
13 .meson-build: &meson-build
20 -D freedreno-kgsl=true
33 - ninja -C _build test
35 .autotools-build: &autotools-build
46 --enable-omap-experimental-api
47 --enable-exynos-experimental-api
49 --enable-freedreno-kgsl
50 --enable-tegra-experimental-api
52 --enable-etnaviv-experimental-api
58 image: base/archlinux:latest
60 - pacman -Syu --noconfirm --needed
72 image: base/archlinux:latest
73 artifacts: *artifacts-autotools
75 - pacman -Syu --noconfirm --needed
83 git # autogen.sh depends on git
84 script: *autotools-build
89 artifacts: *artifacts-meson
91 - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
92 'path-exclude=/usr/share/doc/*'
93 'path-exclude=/usr/share/man/*'
94 - printf > /usr/sbin/policy-rc.d "%s\n"
97 - chmod +x /usr/sbin/policy-rc.d
99 - apt-get -y --no-install-recommends install
103 libxslt1-dev docbook-xsl
106 libcairo2-dev libcunit1-dev
110 # We need `--no-check-certificate` here because Debian's CA list is
111 # too old to know about LetsEncrypt's CA, so it refuses to connect
113 - LIBPCIACCESS_VERSION=libpciaccess-0.10 &&
114 wget --no-check-certificate https://xorg.freedesktop.org/releases/individual/lib/$LIBPCIACCESS_VERSION.tar.bz2 &&
115 tar -jxvf $LIBPCIACCESS_VERSION.tar.bz2 &&
116 (cd $LIBPCIACCESS_VERSION && ./configure --prefix=$HOME/prefix && make install)
117 - pip3 install wheel setuptools
118 - pip3 install meson==0.43
119 - export PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig
120 - export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
126 artifacts: *artifacts-autotools
128 - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
129 'path-exclude=/usr/share/doc/*'
130 'path-exclude=/usr/share/man/*'
131 - printf > /usr/sbin/policy-rc.d "%s\n"
134 - chmod +x /usr/sbin/policy-rc.d
136 - apt-get -y --no-install-recommends install
143 libxslt1-dev docbook-xsl
146 libcairo2-dev libcunit1-dev
149 git # autogen.sh depends on git
150 # We need `--no-check-certificate` here because Debian's CA list is
151 # too old to know about LetsEncrypt's CA, so it refuses to connect
153 - LIBPCIACCESS_VERSION=libpciaccess-0.10 &&
154 wget --no-check-certificate https://xorg.freedesktop.org/releases/individual/lib/$LIBPCIACCESS_VERSION.tar.bz2 &&
155 tar -jxvf $LIBPCIACCESS_VERSION.tar.bz2 &&
156 (cd $LIBPCIACCESS_VERSION && ./configure --prefix=$HOME/prefix && make install)
157 - export PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig
158 - export LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH"
159 script: *autotools-build