Module: Mesa Branch: master Commit: 76f74bd653e35dc332744aa4b17e668f7c21c046 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76f74bd653e35dc332744aa4b17e668f7c21c046
Author: Daniel Stone <[email protected]> Date: Tue Oct 27 07:42:15 2020 +0000 CI: Only run OpenCL tests when we need to Like the other drivers, set up rules so we don't run piglit-cl unless we need to. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3695 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7330> --- .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: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
