aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/container/arm_test.sh
blob: 6f91da724ab702e2efafbe48df5faea312717cd4 (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
64
65
66
#!/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 \
	netcat \
	pkg-config \
	procps \
	python \
	python3-distutils \
	waffle-utils \
	wget \
	zlib1g

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

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

############### Build dEQP GL

. .gitlab-ci/build-deqp-gl.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 \
        python3-distutils \
        wget

apt-get autoremove -y --purge