aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-11-13 11:03:52 +0100
committerSamuel Pitoiset <[email protected]>2019-12-06 10:58:03 +0100
commitc1a362722f47c35da68754181797cd8f2487b1ea (patch)
tree218782f9169ae988ec338fe424e9c18dc5ab5e58 /.gitlab-ci.yml
parent40c6a56751c736488fcd2e157669118f141a7270 (diff)
gitlab-ci: add a job that runs Vulkan CTS with RADV conditionally
Only Polaris10 is tested at the moment, and I disabled a TON of tests to keep a CTS run within 5 minutes because my local runner is a bit slow. A full CTS run takes more than 1h, which means it will hit the timeout. RADV CI can only be triggered manually on personal branches to avoid breaking the world because one runner is definitely not enough. This will allow us to test it until it's stable enough to be enabled by default. Signed-off-by: Samuel Pitoiset <[email protected]> Acked-by: Michel Dänzer <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4db40a34a49..079af449c8f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,6 +116,18 @@ x86_test-vk:
extends: x86_build
variables:
DEBIAN_TAG: &x86_test-vk "2019-11-22"
+ # Can only be triggered manually on personal branches because RADV is the only
+ # driver that does Vulkan testing at the moment.
+ rules:
+ # Never build the test image for VK by default in the main project.
+ - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ when: never
+ # Never build the test image for VK by default for merge requests.
+ - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ when: never
+ # Otherwise, allow building it manually for personal branches.
+ - when: manual
+
# Debian 9 based x86 build image (old LLVM)
x86_build_old:
@@ -626,3 +638,30 @@ arm64_a306_gles2:
DEQP_SKIPS: deqp-default-skips.txt
tags:
- db410c
+
+# RADV CI
+.test-radv:
+ variables:
+ VK_DRIVER: radeon
+ # Can only be triggered manually on personal branches because RADV is the only
+ # driver that does Vulkan testing at the moment.
+ rules:
+ # Never test RADV by default in the main project.
+ - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ when: never
+ # Never test RADV by default for merge requests.
+ - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ when: never
+ # Otherwise, allow testing RADV if the test image for VK has been manually
+ # started.
+ - when: on_success
+
+radv_polaris10_vkcts:
+ extends:
+ - .deqp-test-vk
+ - .test-radv
+ variables:
+ DEQP_PARALLEL: 4
+ DEQP_SKIPS: deqp-radv-polaris10-skips.txt
+ tags:
+ - polaris10