From 81c0507a22cfb8e7cf56dec337286a355b47b3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Thu, 13 Jun 2024 17:32:54 +0200 Subject: [PATCH] ci: Try to update WARP --- .github/workflows/test_rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index afed98ff60be3..849a7d99cef12 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -80,6 +80,16 @@ jobs: with: tool: cargo-nextest + - name: Download WARP DLL + if: runner.os == 'Windows' + run: | + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + Invoke-WebRequest -Uri "https://globalcdn.nuget.org/packages/microsoft.direct3d.warp.1.0.10.nupkg" -OutFile warp.nupkg + Expand-Archive -Path warp.nupkg -DestinationPath warp + New-Item -Type Directory -Force -Path target/ci/deps + cp warp/build/native/amd64/d3d10warp.dll target/ci + cp warp/build/native/amd64/d3d10warp.dll target/ci/deps + - name: Run tests with image tests if: runner.os != 'macOS' # TODO: Disallow retries in general once we can allow only after SIGABRT.