summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2020-02-05 17:04:20 +0100
committerMarge Bot <eric+marge@anholt.net>2020-03-05 20:33:56 +0000
commit42a3d821cbd513db9abf31c4b61172dd7717f53c (patch)
treec7632ed743559d1766e106de06de26eec353b011
parentaf1cd4585824e3efc941483d74915903439f27ba (diff)
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@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>
-rw-r--r--.gitlab-ci.yml17
-rw-r--r--.gitlab-ci/fossils.yml6
-rwxr-xr-x.gitlab-ci/prepare-artifacts.sh1
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/