gitlab-ci: add a job that runs Fossilize on RADV/Polaris10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 5 Feb 2020 16:04:20 +0000 (17:04 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 5 Mar 2020 20:33:56 +0000 (20:33 +0000)
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@gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer@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
.gitlab-ci/fossils.yml [new file with mode: 0644]
.gitlab-ci/prepare-artifacts.sh

index fe282c62970def9da3aeb0071445b13fbc418ff5..f91830fe3bafb49045bca00d67b9582440b4b7b3 100644 (file)
@@ -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 (file)
index 0000000..5b2b241
--- /dev/null
@@ -0,0 +1,6 @@
+fossils-db:
+  repo: "https://gitlab.freedesktop.org/hakzsam/fossils-db"
+  commit: "49a8278432f7afcb54dd059f667a70561592ecbf"
+
+fossils:
+  - path: sascha-willems/triangle.f93c6e96adcd7946.1.foz
index 8a4b251071401425fa7524231ab9190861430459..3a8ec2083ddd06fcf2d6e22e272d8eb7da04dc1f 100755 (executable)
@@ -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/