From 42a3d821cbd513db9abf31c4b61172dd7717f53c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 5 Feb 2020 17:04:20 +0100 Subject: [PATCH] gitlab-ci: add a job that runs Fossilize on RADV/Polaris10 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Michel Dänzer Tested-by: Marge Bot Part-of: --- .gitlab-ci.yml | 17 +++++++++++++++-- .gitlab-ci/fossils.yml | 6 ++++++ .gitlab-ci/prepare-artifacts.sh | 1 + 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .gitlab-ci/fossils.yml 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/ -- 2.30.2