summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/debian-arm64-test-install.sh
blob: 2ea6327cb84e731771d2b68e14746f2efd2dd7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash

set -e
set -o xtrace

############### Install packages for building
apt-get -y install ca-certificates
sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
apt-get update
apt-get -y install \
	bzip2 \
	cmake \
	g++ \
	gcc \
	git \
	libc6-dev \
	libdrm-nouveau2 \
	libexpat1 \
	libgbm-dev \
	libgbm-dev \
	libgles2-mesa-dev \
	libllvm8 \
	libpng16-16 \
	libpng-dev \
	libvulkan-dev \
	libvulkan1 \
	meson \
	pkg-config \
	procps \
	python \
	waffle-utils \
	wget \
	zlib1g

############### Build dEQP runner

. .gitlab-ci/build-cts-runner.sh

############### Build dEQP

. .gitlab-ci/build-deqp.sh


############### Uninstall the build software

apt-get purge -y \
        bzip2 \
        cmake \
        g++ \
        gcc \
        git \
        libc6-dev \
        libgbm-dev \
        libgles2-mesa-dev \
        libpng-dev \
        libvulkan-dev \
        meson \
        pkg-config \
        python \
        wget

apt-get autoremove -y --purge