ci/windows: Split the windows-related tests

Should help with the timeouts we see in CI right now.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16042>
This commit is contained in:
Boris Brezillon 2022-04-19 08:18:13 -07:00
parent cf930db39c
commit d01a149b8b
3 changed files with 39 additions and 7 deletions

View File

@ -607,12 +607,14 @@
when: on_success
- changes: &d3d12_file_list
- src/gallium/drivers/d3d12/**/*
- src/microsoft/**/*
- src/gallium/frontends/wgl/*
- src/gallium/winsys/d3d12/wgl/*
- src/gallium/targets/libgl-gdi/*
- src/gallium/targets/libgl-d3d12/*
when: on_success
- changes:
- src/microsoft/**/*
when: on_success
- changes:
*zink_file_list
when: on_success
@ -621,7 +623,7 @@
when: on_success
- when: never
.windows-test-rules:
.glon12-test-rules:
rules:
- if: '$MICROSOFT_FARM == "offline"'
when: never
@ -631,14 +633,44 @@
when: on_success
- changes:
*gallium_core_file_list
- changes: *d3d12_file_list
when: on_success
- changes:
*lavapipe_file_list
- src/microsoft/compiler/*
when: on_success
- when: never
.spirv2dxil-test-rules:
rules:
- if: '$MICROSOFT_FARM == "offline"'
when: never
- *ignore_scheduled_pipelines
- changes:
*mesa_core_file_list
when: on_success
- changes: &spirv2dxil_file_list
- src/microsoft/ci/*
- src/microsoft/compiler/*
- src/microsoft/spirv_to_dxil/*
when: on_success
- when: never
.dozen-test-rules:
rules:
- if: '$MICROSOFT_FARM == "offline"'
when: never
- *ignore_scheduled_pipelines
- changes:
*mesa_core_file_list
when: on_success
- changes:
*vulkan_file_list
when: on_success
- changes: *d3d12_file_list
- changes:
*spirv2dxil_file_list
when: on_success
- changes:
- src/microsoft/vulkan/*
when: on_success
- when: never

View File

@ -2,7 +2,7 @@
extends:
- .build-windows
- .use-windows_test_vs2019
- .windows-test-rules
- .glon12-test-rules
stage: layered-backends
dependencies:
- windows-vs2019

View File

@ -2,7 +2,7 @@ test-spirv2dxil-windows:
extends:
- .build-windows
- .use-windows_test_vs2019
- .windows-test-rules
- .spirv2dxil-test-rules
stage: layered-backends
dependencies:
- windows-vs2019
@ -23,7 +23,7 @@ test-dozen-deqp:
extends:
- .build-windows
- .use-windows_test_vs2019
- .windows-test-rules
- .dozen-test-rules
stage: layered-backends
dependencies:
- windows-vs2019