diff options
| author | Yong He <yonghe@outlook.com> | 2021-07-09 11:00:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-09 11:00:44 -0700 |
| commit | fa565f96823f3985cffa3a899742fdf1449d5876 (patch) | |
| tree | e8aeddb87cd077bf9b28ca4b799756c0ee77e48a /.github/workflows | |
| parent | 09a251e0f3a31c826eaa91eef64b04eb01c4393a (diff) | |
Enable testing with Swiftshader. (#1906)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4f871a6c0..091997303 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -47,4 +47,6 @@ jobs: } $slangTestBinDir = ".\bin\windows-$testPlatform\${{matrix.configuration}}\"; $env:Path += ";$slangTestBinDir"; + Invoke-WebRequest -uri "https://github.com/shader-slang/swiftshader/releases/download/v1.0/vk_swiftshader_windows_$testPlatform.zip" -Method "GET" -Outfile "swiftshader.zip"; + Expand-Archive "swiftshader.zip" -DestinationPath $slangTestBinDir; & "$slangTestBinDir\slang-test.exe" -api all-dx12 -appveyor -bindir "$slangTestBinDir\" -platform $testPlatform -configuration ${{matrix.configuration}} -category $testCategory;
\ No newline at end of file |
