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>
This commit is contained in:
Samuel Pitoiset 2020-02-05 17:04:20 +01:00 committed by Marge Bot
parent af1cd45858
commit 42a3d821cb
3 changed files with 22 additions and 2 deletions

View 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:

6
.gitlab-ci/fossils.yml Normal file
View File

@ -0,0 +1,6 @@
fossils-db:
repo: "https://gitlab.freedesktop.org/hakzsam/fossils-db"
commit: "49a8278432f7afcb54dd059f667a70561592ecbf"
fossils:
- path: sascha-willems/triangle.f93c6e96adcd7946.1.foz

View File

@ -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/