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 cargo \ 16 python3-dev \ 17 python3-pip \ 18 python3-setuptools \ 19 python3-wheel \ 20 " 21 22apt-get update 23apt-get dist-upgrade -y 24 25apt-get install -y --no-remove \ 26 git \ 27 git-lfs \ 28 libasan6 \ 29 libexpat1 \ 30 libllvm11 \ 31 libllvm9 \ 32 liblz4-1 \ 33 libpng16-16 \ 34 libpython3.9 \ 35 libvulkan1 \ 36 libwayland-client0 \ 37 libwayland-server0 \ 38 libxcb-ewmh2 \ 39 libxcb-randr0 \ 40 libxcb-xfixes0 \ 41 libxkbcommon0 \ 42 libxrandr2 \ 43 libxrender1 \ 44 python3-mako \ 45 python3-numpy \ 46 python3-packaging \ 47 python3-pil \ 48 python3-requests \ 49 python3-six \ 50 python3-yaml \ 51 vulkan-tools \ 52 waffle-utils \ 53 xauth \ 54 xvfb \ 55 zlib1g 56 57apt-get install -y --no-install-recommends \ 58 $STABLE_EPHEMERAL 59 60# Needed for ci-fairy, this revision is able to upload files to MinIO 61# and doesn't depend on git 62pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@0f1abc24c043e63894085a6bd12f14263e8b29eb 63 64############### Build dEQP runner 65. .gitlab-ci/container/build-deqp-runner.sh 66rm -rf ~/.cargo 67 68apt-get purge -y $STABLE_EPHEMERAL 69 70apt-get autoremove -y --purge 71