summaryrefslogtreecommitdiff
path: root/.gitlab-ci/meson-build.sh
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-04-10 15:59:12 -0700
committerEric Anholt <eric@anholt.net>2019-07-25 08:56:55 -0700
commitf60defa72d5d20d99e3ad1d1ab3aeb8bc71833bf (patch)
tree37e3752cb9380509e6f6faee6fe5537e053c14cd /.gitlab-ci/meson-build.sh
parentdd3d0b2897b8e7874a6b1958e1c097150c5b2996 (diff)
gitlab-ci: Add a shader-db run using v3d on drm-shim.
This provides significant compiler coverage during CI at a fairly low cost in CPU time (~17s per thread for 4 threads on gst-gitlab-htz-runner3). I'm leaving wget in the docker image, as once this is in master I'm planning on having an automatic shader-db comparison between master and the branch included in the artifacts. I also haven't done freedreno yet, because it has some races when run in multithreaded mode that I'm still tracking down. Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to '.gitlab-ci/meson-build.sh')
-rwxr-xr-x.gitlab-ci/meson-build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci/meson-build.sh b/.gitlab-ci/meson-build.sh
index 04b0189e254..c7fef6fc315 100755
--- a/.gitlab-ci/meson-build.sh
+++ b/.gitlab-ci/meson-build.sh
@@ -33,3 +33,8 @@ meson configure
ninja -j4
LC_ALL=C.UTF-8 ninja test
DESTDIR=$PWD/../install ninja install
+cd ..
+
+if test -n "$MESON_SHADERDB"; then
+ ./.gitlab-ci/run-shader-db.sh;
+fi