1.d3d12-test:
2  extends:
3    - .build-windows
4    - .use-windows_test_vs2019
5    - .windows-test-rules
6  stage: layered-backends
7  dependencies:
8    - windows-vs2019
9  needs:
10    - windows-vs2019
11    - windows_test_vs2019
12  variables:
13    GIT_STRATEGY: none # testing doesn't build anything from source
14    GALLIUM_DRIVER: d3d12
15
16.d3d12-test-piglit:
17  extends:
18    - .d3d12-test
19  script:
20    - . _install/piglit_run.ps1
21  artifacts:
22    when: on_failure
23    name: "mesa_${CI_JOB_NAME}"
24    paths:
25      - summary/
26      - result.txt
27
28test-d3d12-quick_gl:
29  extends:
30    - .d3d12-test-piglit
31  variables:
32    PIGLIT_PROFILE: quick_gl
33    PIGLIT_RESULTS: "d3d12-quick_gl"
34    PIGLIT_TESTS: -x nv_copy_depth_to_color -x glsl-1.30.execution.tex-miplevel-selection -x arb_timer_query.timestamp-get
35
36test-d3d12-quick_shader:
37  extends:
38    - .d3d12-test-piglit
39  variables:
40    PIGLIT_PROFILE: quick_shader
41    PIGLIT_RESULTS: "d3d12-quick_shader"
42    # These tests crash WARP causing the test suite to timeout, or are flaky
43    PIGLIT_TESTS: -x amd_texture_texture4 -x arb_texture_gather -x isoline
44