summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/debian-install.sh
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-10-22 17:16:52 +0200
committerMichel Dänzer <[email protected]>2019-11-12 10:16:23 +0100
commit576f7b6ea52d39406df119b336396bfa41628726 (patch)
tree88fbce2aca1794e18ee03d6209e0721063337437 /.gitlab-ci/debian-install.sh
parent4b25b5885b63a77b4f07be5c1a4307b41d8bc594 (diff)
gitlab-ci: Run piglit tests with llvmpipe
One job for the quick_gl profile, one for the glslparser & quick_shader profiles (doing these together takes hardly any more time than quick_shader alone). v2: * Don't break lava tests v3: * Remove piglit test artifacts paths: * Exclude some quick_shader tests again: - Test whose result flips between pass/fail/skip - *@vs_in tests, as not the same one of these gets picked every time v4: * Do not list passing tests in .gitlab-ci/piglit/*.txt (Eric Anholt) * Include the test number summary in .gitlab-ci/piglit/*.txt * Completely disable generating any vs_in tests in the piglit build. * Remove some more unneded files from the piglit build tree. * Exclude quick_gl arb_gpu_shader5 tests; they were all skipped anyway, as llvmpipe doesn't support this extension yet, but occasionally they would spuriously fail instead. v5: * Set LD_LIBRARY_PATH, so we actually test the Mesa build from the pipeline... * Verify that wflinfo reports the expected Mesa version * Pass -noreset to Xvfb v6: * Don't use autoscale runners, run piglit with -j4 (Eric Anholt) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to '.gitlab-ci/debian-install.sh')
-rw-r--r--.gitlab-ci/debian-install.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index f329648ee2d..210f6ba78b1 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -58,6 +58,7 @@ apt-get install -y --no-remove \
libtool \
libunwind-dev \
libvulkan-dev \
+ libwaffle-dev \
libx11-dev \
libx11-xcb-dev \
libxdamage-dev \
@@ -72,8 +73,13 @@ apt-get install -y --no-remove \
pkg-config \
python-mako \
python3-mako \
+ python3-numpy \
+ python3-six \
scons \
+ waffle-utils \
x11proto-gl-dev \
+ xauth \
+ xvfb \
xz-utils \
zlib1g-dev
@@ -240,6 +246,15 @@ for arch in $CROSS_ARCHITECTURES; do
fi
done
+############### Build piglit
+
+git clone https://gitlab.freedesktop.org/mesa/piglit.git --single-branch --no-checkout /piglit
+cd /piglit
+git checkout 7a92b02210dabbba31ae5fd71272ea742346a9c8
+patch -p1 <$OLDPWD/.gitlab-ci/piglit/disable-vs_in.diff
+cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
+ninja -j4
+rm -rf .git .ninja* *.ninja **/CMake* **/cmake* ninja.* **/*.[chao] target_api
############### Build dEQP
@@ -257,6 +272,7 @@ apt-get purge -y \
libgbm-dev \
libgles2-mesa-dev \
libtool \
+ libwaffle-dev \
unzip \
wget \
x11proto-gl-dev