aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/container
diff options
context:
space:
mode:
authorAlexandros Frantzis <[email protected]>2020-01-08 17:46:46 +0200
committerTomeu Vizoso <[email protected]>2020-02-20 08:06:13 +0100
commit803ab5d6be6bc63e3eae827d7297e0cd98cc61dd (patch)
treeac1b9974160a7c2970d6cc9104e4252499a7f360 /.gitlab-ci/container
parent50f1950ac0b52d291ac70bc1ce871a03ed88ba4a (diff)
gitlab-ci: Automated testing with OpenGL traces
Introduce automated testing of Mesa by replaying traces with Renderdoc or Apitrace. For now only LLVMPipe is tested, but other drivers can be tested if there's runners with the necessary hardware. Signed-off-by: Alexandros Frantzis <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2935> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2935>
Diffstat (limited to '.gitlab-ci/container')
-rw-r--r--.gitlab-ci/container/x86_test-gl.sh33
1 files changed, 30 insertions, 3 deletions
diff --git a/.gitlab-ci/container/x86_test-gl.sh b/.gitlab-ci/container/x86_test-gl.sh
index 961ad2accc6..6a0a78183e0 100644
--- a/.gitlab-ci/container/x86_test-gl.sh
+++ b/.gitlab-ci/container/x86_test-gl.sh
@@ -28,33 +28,49 @@ EOF
apt-get dist-upgrade -y
apt-get install -y --no-remove \
+ autoconf \
+ automake \
cmake \
g++ \
git \
+ git-lfs \
gcc \
libexpat1 \
libgbm-dev \
libgles2-mesa-dev \
+ libpcre32-3 \
+ libpcre3-dev \
libpng16-16 \
libpng-dev \
+ libpython3.7 \
libvulkan1 \
libvulkan-dev \
libwaffle-dev \
libwayland-server0 \
+ libxcb-keysyms1 \
+ libxcb-keysyms1-dev \
libxcb-xfixes0 \
libxkbcommon0 \
libxkbcommon-dev \
libxrender1 \
libxrender-dev \
libllvm9 \
+ make \
meson \
patch \
pkg-config \
+ python \
+ python3.7 \
+ python3.7-dev \
python3-distutils \
python3-mako \
python3-numpy \
+ python3-pil \
+ python3-pilkit \
python3-six \
- python \
+ python3-yaml \
+ qt5-default \
+ qt5-qmake \
waffle-utils \
xauth \
xvfb \
@@ -73,26 +89,37 @@ apt-get install -y --no-remove \
. .gitlab-ci/build-deqp-gl.sh
+############### Build apitrace
+
+. .gitlab-ci/build-apitrace.sh
+
+############### Build renderdoc
+
+. .gitlab-ci/build-renderdoc.sh
############### Uninstall the build software
apt-get purge -y \
+ autoconf \
+ automake \
cmake \
g++ \
gcc \
- git \
gnupg \
libc6-dev \
libgbm-dev \
libgles2-mesa-dev \
+ libpcre3-dev \
libpng-dev \
libwaffle-dev \
+ libxcb-keysyms1-dev \
libxkbcommon-dev \
libxrender-dev \
+ make \
meson \
patch \
pkg-config \
- python \
+ python3.7-dev \
python3-distutils
apt-get autoremove -y --purge