gitlab-ci: do not clone git-repo for test-job
The only thing we really need from the git-repo is the piglit_run.ps1
script, so let's upload that into our artifacts instead.
Fixes: d560addc30
("gitlab-ci: run piglit on windows")
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7867>
This commit is contained in:

committed by
Marge Bot

parent
361d143f94
commit
195a001d73
@@ -821,11 +821,12 @@ test-d3d12-windows:
|
|||||||
needs:
|
needs:
|
||||||
- meson-windows-vs2019
|
- meson-windows-vs2019
|
||||||
variables:
|
variables:
|
||||||
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
||||||
GALLIUM_DRIVER: d3d12
|
GALLIUM_DRIVER: d3d12
|
||||||
PIGLIT_PROFILE: quick_gl
|
PIGLIT_PROFILE: quick_gl
|
||||||
PIGLIT_OPTIONS: -x nv_copy_depth_to_color
|
PIGLIT_OPTIONS: -x nv_copy_depth_to_color
|
||||||
script:
|
script:
|
||||||
- . .\.gitlab-ci\windows\piglit_run.ps1
|
- . _install/piglit_run.ps1
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
name: "mesa_${CI_JOB_NAME}"
|
name: "mesa_${CI_JOB_NAME}"
|
||||||
|
@@ -17,3 +17,5 @@ if (!$buildstatus) {
|
|||||||
Write-Host "Mesa build or test failed"
|
Write-Host "Mesa build or test failed"
|
||||||
Exit 1
|
Exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Copy-Item ".\.gitlab-ci\windows\piglit_run.ps1" -Destination $installdir
|
||||||
|
Reference in New Issue
Block a user