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 <alexandros.frantzis@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2935>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2935>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9e70ce8..4b6c97a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,7 +125,7 @@
x86_test-gl:
extends: x86_build
variables:
- DEBIAN_TAG: &x86_test-gl "2020-01-30"
+ DEBIAN_TAG: &x86_test-gl "2020-02-14"
# Debian 10 based x86 test image for VK
x86_test-vk:
@@ -705,3 +705,20 @@
DEQP_SKIPS: deqp-radv-polaris10-skips.txt
tags:
- polaris10
+
+.traces-test:
+ extends:
+ - .test-gl
+ cache:
+ key: ${CI_JOB_NAME}
+ paths:
+ - .git-lfs-storage/
+ script:
+ - ./artifacts/tracie-runner.sh
+
+llvmpipe-traces:
+ variables:
+ LIBGL_ALWAYS_SOFTWARE: "true"
+ GALLIUM_DRIVER: "llvmpipe"
+ DEVICE_NAME: "vmware-llvmpipe"
+ extends: .traces-test