ci: Execute DXC tests on 32-bit as well.

This commit is contained in:
Giovanni Mascellani
2025-10-30 20:47:46 +01:00
committed by Henri Verbeet
parent 92f22edb88
commit d6d1485e40
Notes: Henri Verbeet 2025-11-03 18:01:36 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1810
2 changed files with 13 additions and 2 deletions

View File

@@ -154,6 +154,12 @@ static bool run_tests_for_directory(const char *commit_dir)
fprintf(stderr, "Cannot copy d3d10warp.dll, last error %ld.\n", GetLastError());
ret = false;
}
sprintf(dest_filename, "artifacts\\%s\\tests\\dxcompiler.dll", commit_dir);
if (!CopyFileA(".\\dxc\\bin\\x64\\dxcompiler.dll", dest_filename, FALSE))
{
fprintf(stderr, "Cannot copy dxcompiler.dll, last error %ld.\n", GetLastError());
ret = false;
}
}
else
{
@@ -163,6 +169,12 @@ static bool run_tests_for_directory(const char *commit_dir)
fprintf(stderr, "Cannot copy d3d10warp.dll, last error %ld.\n", GetLastError());
ret = false;
}
sprintf(dest_filename, "artifacts\\%s\\tests\\dxcompiler.dll", commit_dir);
if (!CopyFileA(".\\dxc\\bin\\x86\\dxcompiler.dll", dest_filename, FALSE))
{
fprintf(stderr, "Cannot copy dxcompiler.dll, last error %ld.\n", GetLastError());
ret = false;
}
}
sprintf(list_filename, "artifacts/%s/tests/shader_tests.txt", commit_dir);