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