Module: Mesa
Branch: main
Commit: c0db462fddab52418c02839ef60782e776e1203d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0db462fddab52418c02839ef60782e776e1203d

Author: Jesse Natalie <[email protected]>
Date:   Tue Oct 18 10:11:08 2022 -0700

ci/windows: Download updated WARP and copy to piglit/vk-gl-cts

Reviewed-by: Giancarlo Devich <[email protected]>
Reviewed-by: Sil Vilerino <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

---

 .gitlab-ci/windows/mesa_deps_test.ps1 | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci/windows/mesa_deps_test.ps1 
b/.gitlab-ci/windows/mesa_deps_test.ps1
index cb3077e202e..72a21ed3caf 100644
--- a/.gitlab-ci/windows/mesa_deps_test.ps1
+++ b/.gitlab-ci/windows/mesa_deps_test.ps1
@@ -151,5 +151,16 @@ $agility_dest = New-Item -ItemType Directory -Path 
$vk_cts_bin -Name 'D3D12'
 Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $agility_dest
 Remove-Item -Recurse 'C:\agility'
 
+Get-Date
+Write-Host "Downloading Updated WARP"
+Invoke-WebRequest -Uri 
https://www.nuget.org/api/v2/package/Microsoft.Direct3D.WARP/1.0.2 -OutFile 
'warp.zip'
+Expand-Archive -Path 'warp.zip' -DestinationPath 'C:\warp'
+Remove-Item 'warp.zip'
+
+# Copy WARP next to piglit and Vulkan CTS
+Copy-Item 'C:\warp\build\native\amd64\d3d10warp.dll' -Destination $piglit_bin
+Copy-Item 'C:\warp\build\native\amd64\d3d10warp.dll' -Destination $vk_cts_bin
+Remove-Item -Recurse 'C:\warp'
+
 Get-Date
 Write-Host "Complete"

Reply via email to