diff --git a/.gitlab-ci/windows/mesa_deps_test.ps1 b/.gitlab-ci/windows/mesa_deps_test.ps1 index 9d9843b8aa5..cb3077e202e 100644 --- a/.gitlab-ci/windows/mesa_deps_test.ps1 +++ b/.gitlab-ci/windows/mesa_deps_test.ps1 @@ -135,5 +135,21 @@ Write-Host "Installing deqp-runner" $env:Path += ";$($env:USERPROFILE)\.cargo\bin" cargo install --git https://gitlab.freedesktop.org/anholt/deqp-runner.git +Get-Date +Write-Host "Downloading DirectX 12 Agility SDK" +Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.706.3-preview -OutFile 'agility.zip' +Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility' +Remove-Item 'agility.zip' + +$piglit_bin = 'C:\Piglit\lib\piglit\bin' +$vk_cts_bin = "$deqp_build\external\vulkancts\modules\vulkan" + +# Copy Agility SDK into subfolder of piglit and Vulkan CTS +$agility_dest = New-Item -ItemType Directory -Path $piglit_bin -Name 'D3D12' +Copy-Item 'C:\agility\build\native\bin\x64\*.dll' -Destination $agility_dest +$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 "Complete"