summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
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.yml
parentdd3d0b2897b8e7874a6b1958e1c097150c5b2996 (diff)
downloadmesa-f60defa72d5d20d99e3ad1d1ab3aeb8bc71833bf.tar.gz
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.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8a16f6c1fb..792bbfb13f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@
# repository's registry will be used there as well.
variables:
UPSTREAM_REPO: mesa/mesa
- DEBIAN_TAG: "2019-07-11"
+ DEBIAN_TAG: "2019-07-23"
DEBIAN_VERSION: stretch-slim
DEBIAN_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
@@ -66,6 +66,7 @@ debian:
- _build/meson-logs/*.txt
# scons:
- _build/*/config.log
+ - shader-db
variables:
CCACHE_COMPILERCHECK: "content"
# Use ccache transparently, and print stats before/after
@@ -166,6 +167,7 @@ meson-main:
DRI_DRIVERS: "i915,i965,r100,r200,swrast,nouveau"
GALLIUM_ST: >
-D dri3=true
+ -D tools=drm-shim
-D gallium-extra-hud=true
-D gallium-vdpau=true
-D gallium-xvmc=true
@@ -178,6 +180,7 @@ meson-main:
LLVM_VERSION: "7"
EXTRA_OPTION: >
-D tools=all
+ MESON_SHADERDB: "true"
meson-clover:
extends: .meson-build