From fa565f96823f3985cffa3a899742fdf1449d5876 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 9 Jul 2021 11:00:44 -0700 Subject: Enable testing with Swiftshader. (#1906) --- .github/workflows/windows.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3