Skip to content

Commit

Permalink
ci: Try to update WARP
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 committed Jun 13, 2024
1 parent 682375e commit 807ec02
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.12.nupkg" -OutFile warp.nupkg
Expand-Archive -Path warp.nupkg -DestinationPath warp
New-Item -Type Directory -Force -Path target/ci/deps
cp warp/build/native/bin/x64/d3d10warp.dll target/ci
cp warp/build/native/bin/x64/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.
Expand Down

0 comments on commit 807ec02

Please sign in to comment.