From 76f74bd653e35dc332744aa4b17e668f7c21c046 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 27 Oct 2020 07:42:15 +0000 Subject: [PATCH] CI: Only run OpenCL tests when we need to MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Like the other drivers, set up rules so we don't run piglit-cl unless we need to. Signed-off-by: Daniel Stone Reviewed-by: Michel Dänzer Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3695 Part-of: --- .gitlab-ci.yml | 1 + .gitlab-ci/test-source-dep.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46e790eb91f..fbd27c89a04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1037,6 +1037,7 @@ piglit-cl: extends: - .piglit-test - .test-cl + - .llvmpipe-cl-rules variables: LP_CL: 1 LP_NUM_THREADS: 1 diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index b45751c76cd..71f546951d3 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -78,6 +78,30 @@ when: on_success - when: never +.llvmpipe-cl-rules: + stage: llvmpipe + rules: + - *ignore_scheduled_pipelines + - changes: + - .gitlab-ci.yml + - .gitlab-ci/**/* + - meson.build + - include/**/* + - src/compiler/**/* + - src/include/**/* + - src/util/**/* + when: on_success + - changes: + *gallium_core_file_list + when: on_success + - changes: + *llvmpipe_file_list + when: on_success + - changes: &clover_file_list + - src/gallium/frontends/clover/**/* + when: on_success + - when: never + .freedreno-rules: stage: freedreno rules: