• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -e
4set -o xtrace
5
6export DEBIAN_FRONTEND=noninteractive
7
8apt-get install -y ca-certificates
9
10sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
11
12# Ephemeral packages (installed for this script and removed again at
13# the end)
14STABLE_EPHEMERAL=" \
15        python3-pip \
16        python3-setuptools \
17        "
18
19apt-get update
20
21apt-get install -y --no-remove \
22        $STABLE_EPHEMERAL \
23        bison \
24        ccache \
25        dpkg-cross \
26        flex \
27        g++ \
28        g++-mingw-w64-x86-64 \
29        gcc \
30        git \
31        glslang-tools \
32        kmod \
33        libclang-11-dev \
34        libclang-9-dev \
35        libclc-dev \
36        libelf-dev \
37        libepoxy-dev \
38        libexpat1-dev \
39        libgtk-3-dev \
40        libllvm11 \
41        libllvm9 \
42        libomxil-bellagio-dev \
43        libpciaccess-dev \
44        libunwind-dev \
45        libva-dev \
46        libvdpau-dev \
47        libvulkan-dev \
48        libx11-dev \
49        libx11-xcb-dev \
50        libxext-dev \
51        libxml2-utils \
52        libxrandr-dev \
53        libxrender-dev \
54        libxshmfence-dev \
55        libxvmc-dev \
56        libxxf86vm-dev \
57        libz-mingw-w64-dev \
58        make \
59        meson \
60        pkg-config \
61        python3-mako \
62        python3-pil \
63        python3-requests \
64        qemu-user \
65        valgrind \
66        wayland-protocols \
67        wget \
68        wine64 \
69        x11proto-dri2-dev \
70        x11proto-gl-dev \
71        x11proto-randr-dev \
72        xz-utils \
73        zlib1g-dev
74
75# Needed for ci-fairy, this revision is able to upload files to MinIO
76pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
77
78############### Uninstall ephemeral packages
79
80apt-get purge -y $STABLE_EPHEMERAL
81
82. .gitlab-ci/container/container_post_build.sh
83