glsl-arrays: initialize uniforms in shader to avoid errors from elimination
[piglit.git] / .gitlab-ci / debian-install.sh
blob7412b7674720800f8249eaadf0941773d4dc59cc
1 #!/bin/bash
2 set -eux
4 export DEBIAN_FRONTEND=noninteractive
6 apt-get install -y \
7 ca-certificates
9 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
10 echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
12 # Use newer packages from backports by default
13 cat >/etc/apt/preferences <<EOF
14 Package: *
15 Pin: release a=buster-backports
16 Pin-Priority: 500
17 EOF
19 apt-get update
20 apt-get dist-upgrade -y
22 apt-get install -y \
23 bison \
24 ccache \
25 cmake \
26 flex \
27 freeglut3-dev \
28 g++-multilib \
29 gcc-multilib \
30 gettext \
31 git \
32 jq \
33 libdrm-dev \
34 libdrm2 \
35 libegl1-mesa-dev \
36 libglvnd-dev \
37 libvulkan-dev \
38 libwaffle-dev \
39 libwayland-dev \
40 libxkbcommon-dev \
41 libxrender-dev \
42 ninja-build \
43 opencl-dev \
44 pkg-config \
45 python3 \
46 python3-dev \
47 python3-jsonschema \
48 python3-mako \
49 python3-mock \
50 python3-numpy \
51 python3-pip \
52 python3-psutil \
53 python3-pytest \
54 python3-pytest-mock \
55 python3-pytest-timeout \
56 python3-setuptools \
57 python3-wheel \
58 tox \
59 waffle-utils
61 pip3 install pytest-pythonpath
62 pip3 install pytest-raises