ci: Run the crosstests on Windows.
This depends on !412 (merged), and might need some finishing touches before being ready.
Merge request reports
Activity
+ +Finally, a runner tagged with `win10-21h2' must be available and +submit jobs to a Windows 10 virtual machine. \ No newline at end of file
Missing newline.
I'm not sure whether it's worth it, but we could conceivably generate the list of tests to run from the build system, instead of hardcoding paths in the driver program. The main benefit would probably be that it would make it easier to keep things in sync.
added 2 commits
+tests/crosstests.txt: FORCE + echo $(vkd3d_cross_tests) | tr ' ' '\n' > $@
We'll probably want a "$(AM_V_GEN)" in front of that. Note that we could avoid the "tr" dependency with something like "for i in
(vkd3d_cross_tests); do echo $
i; done > $@"I haven't checked, but I imagine we'll want to add tests/crosstests.txt and tests/shader_tests.txt to .gitignore and CLEANFILES.
added 2 commits
added 20 commits
-
492acca7...a4ed06bc - 18 commits from branch
wine:master
- 4afddc9b - ci: Run cross tests on Windows.
- 83344990 - ci: Run shader tests on Windows.
-
492acca7...a4ed06bc - 18 commits from branch
- tests/driver.c 0 → 100644
74 goto out; 75 } 76 77 if (WaitForSingleObject(info.hProcess, INFINITE) != WAIT_OBJECT_0) 78 { 79 fprintf(stderr, "Cannot wait for process termination, last error %ld.\n", GetLastError()); 80 ret = false; 81 goto out; 82 } 83 84 if (!GetExitCodeProcess(info.hProcess, &exit_code)) 85 { 86 fprintf(stderr, "Cannot retrive the process exit code, last error %ld.\n", GetLastError()); 87 ret = false; 88 goto out; 89 } added 2 commits
added 2 commits
added 2 commits