Mesa (master): gitlab-ci: add a job that runs Fossilize on RADV/Polaris10

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 5 20:57:11 UTC 2020


Module: Mesa
Branch: master
Commit: 42a3d821cbd513db9abf31c4b61172dd7717f53c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42a3d821cbd513db9abf31c4b61172dd7717f53c

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Feb  5 17:04:20 2020 +0100

gitlab-ci: add a job that runs Fossilize on RADV/Polaris10

RADV_FORCE_FAMILY forces creating a null device that allows RADV
to be instanced without AMDGPU.

The Fossilize database only contains pipelines from the Sascha
Vulkan triangle demos at the moment. I will add more once this
is merged.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3960>

---

 .gitlab-ci.yml                  | 17 +++++++++++++++--
 .gitlab-ci/fossils.yml          |  6 ++++++
 .gitlab-ci/prepare-artifacts.sh |  1 +
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fe282c62970..f91830fe3ba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -706,6 +706,9 @@ arm64_a306_gles2:
   variables:
     VK_DRIVER: radeon
     RADV_DEBUG: checkir
+
+.test-radv-unsafe:
+  extends: .test-radv
   # Can only be triggered manually on personal branches because RADV is the only
   # driver that does Vulkan testing at the moment.
   rules:
@@ -718,16 +721,26 @@ arm64_a306_gles2:
     # Otherwise, allow testing RADV manually for personal branches.
     - when: manual
 
+.test-radv-fossilize:
+  extends:
+    - .fossilize-test
+    - .test-radv
+
 radv_polaris10_vkcts:
   extends:
     - .deqp-test-vk
-    - .test-radv
+    - .test-radv-unsafe
   variables:
     DEQP_PARALLEL: 4
     DEQP_SKIPS: deqp-radv-polaris10-skips.txt
   tags:
     - polaris10
 
+radv-polaris10-fossils:
+  extends: .test-radv-fossilize
+  variables:
+    RADV_FORCE_FAMILY: "polaris10" # Force creating a null device
+
 # Traces CI
 .traces-test:
   stage: misc-tests
@@ -760,7 +773,7 @@ llvmpipe-traces:
 radv-polaris10-traces:
   extends:
     - .traces-test-vk
-    - .test-radv
+    - .test-radv-unsafe
   variables:
     DEVICE_NAME: "vk-amd-polaris10"
   tags:
diff --git a/.gitlab-ci/fossils.yml b/.gitlab-ci/fossils.yml
new file mode 100644
index 00000000000..5b2b2412dac
--- /dev/null
+++ b/.gitlab-ci/fossils.yml
@@ -0,0 +1,6 @@
+fossils-db:
+  repo: "https://gitlab.freedesktop.org/hakzsam/fossils-db"
+  commit: "49a8278432f7afcb54dd059f667a70561592ecbf"
+
+fossils:
+  - path: sascha-willems/triangle.f93c6e96adcd7946.1.foz
diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh
index 8a4b2510714..3a8ec2083dd 100755
--- a/.gitlab-ci/prepare-artifacts.sh
+++ b/.gitlab-ci/prepare-artifacts.sh
@@ -30,6 +30,7 @@ cp -Rp .gitlab-ci/traces.yml artifacts/
 cp -Rp .gitlab-ci/tracie artifacts/
 cp -Rp .gitlab-ci/tracie-runner-gl.sh artifacts/
 cp -Rp .gitlab-ci/tracie-runner-vk.sh artifacts/
+cp -Rp .gitlab-ci/fossils.yml artifacts/
 cp -Rp .gitlab-ci/fossils artifacts/
 cp -Rp .gitlab-ci/fossilize-runner.sh artifacts/
 



More information about the mesa-commit mailing list