summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorHelen Koike <helen.koike@collabora.com>2022-11-21 14:37:22 -0300
committerHelen Koike <helen.koike@collabora.com>2023-01-25 08:58:26 -0300
commit7b51a583edb72f9e66c231b60f9fae4c3c448d22 (patch)
treeee3a53b36b5e4ca819976b52829fc613c519647e /src/gallium
parent068dc91317d3f145f2ed104c91c568e7d7b251f1 (diff)
ci/android: add android to the ci
Add android to the ci, so we can test mesa on it. Add debian/x86_test-android and test-android jobs. One build the container to run tests, and the other execute the tests. Android is executed on top of cuttlefish VM with virgl. Mesa libs are replaced on the cuttlefish image, and deqp and deqp-runner are used to execute tests. Co-developed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/virgl/ci/deqp-android-virgl.toml10
-rw-r--r--src/gallium/drivers/virgl/ci/gitlab-ci.yml10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/ci/deqp-android-virgl.toml b/src/gallium/drivers/virgl/ci/deqp-android-virgl.toml
new file mode 100644
index 00000000000..ea55b2b8ad1
--- /dev/null
+++ b/src/gallium/drivers/virgl/ci/deqp-android-virgl.toml
@@ -0,0 +1,10 @@
+[[deqp]]
+deqp = "/data/deqp-egl"
+caselists = ["/data/egl-master.txt"]
+deqp_args = [
+ "--deqp-surface-width=256",
+ "--deqp-surface-height=256",
+ "--deqp-surface-type=pbuffer",
+ "--deqp-gl-config-name=rgba8888d24s8ms0",
+ "--deqp-visibility=hidden"
+] \ No newline at end of file
diff --git a/src/gallium/drivers/virgl/ci/gitlab-ci.yml b/src/gallium/drivers/virgl/ci/gitlab-ci.yml
index 772460aa169..e260fb0da2e 100644
--- a/src/gallium/drivers/virgl/ci/gitlab-ci.yml
+++ b/src/gallium/drivers/virgl/ci/gitlab-ci.yml
@@ -105,3 +105,13 @@ virgl-iris-traces-performance:
PIGLIT_REPLAY_LOOP_TIMES: 150
PIGLIT_REPLAY_EXTRA_ARGS: "--download-caching-proxy-url=${FDO_HTTP_CACHE_URI}"
allow_failure: true
+
+android-virgl-llvmpipe:
+ extends:
+ - .test-android
+ - .virgl-rules
+ script:
+ - ./install/cuttlefish-runner.sh
+ artifacts:
+ paths:
+ - results/ \ No newline at end of file