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 <daniels@collabora.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3695 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7330>
This commit is contained in:
@@ -1037,6 +1037,7 @@ piglit-cl:
|
||||
extends:
|
||||
- .piglit-test
|
||||
- .test-cl
|
||||
- .llvmpipe-cl-rules
|
||||
variables:
|
||||
LP_CL: 1
|
||||
LP_NUM_THREADS: 1
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user