Commit Graph

78 Commits

Author SHA1 Message Date
Giovanni Mascellani
54aa285b30 ci: Set the macOS runner timeout to ten minutes.
This looks more than enough even for MRs with ten commits.
2025-11-26 16:08:38 +01:00
Giovanni Mascellani
d6d1485e40 ci: Execute DXC tests on 32-bit as well. 2025-11-03 17:52:54 +01:00
Giovanni Mascellani
92f22edb88 ci: Merge job test-win-64-dxc into test-win-64.
DXC doesn't fail any more, so there is no need for two jobs.
2025-11-03 17:52:54 +01:00
Giovanni Mascellani
12c713bbfa tests/hlsl: Do not execute 64-bit wave bitwise operations on WARP.
They are known to be buggy on the CI machine.
2025-11-03 17:52:32 +01:00
Giovanni Mascellani
1cda8afc07 ci: Exclude the WARP driver from the test-win-32 and test-win-64 artifacts. 2025-11-03 17:51:56 +01:00
Giovanni Mascellani
a7e56beb19 ci: Run the Windows tests with WARP version 1.0.16.1.
Many tests fail or even segfault with the older WARP version
provided by the current CI Windows environment.
2025-10-16 14:25:07 +02:00
Giovanni Mascellani
3c8b4ce731 ci: Run Linux tests on Debian trixie.
So we have a more recent version of SPIRV-Tools and also don't
have to recompile Mesa to test llvmpipe. This fixes a few failing
tests, but also breaks a couple.
2025-10-03 00:43:10 +02:00
Giovanni Mascellani
f1b36edc07 ci: Enable testing with DXC again on macOS.
This was disabled by commit 653e4f47ac.
2025-06-04 13:07:17 +02:00
Giovanni Mascellani
bb50117747 ci: Really use DXC 1.8.2502 for macOS.
In theory commit 7b07d77396 already
did that, but in practice it ended up picking a commit from the
1.8.2405 branch, where a few of our tests fail. Since I hope to
soon enable DXC for macOS again, it's useful to fix that oversight.
2025-05-27 19:44:27 +02:00
Henri Verbeet
3c8fd8a2f2 ci: Build the demos on macOS. 2025-05-12 15:38:01 +02:00
Francisco Casas
7b07d77396 ci: Update the DXC version used on the CI to 1.8.2502. 2025-05-06 18:39:02 +02:00
Henri Verbeet
ceb2787d46 ci: Install mingw-w64-tools in the Linux image.
For the build-mingw-32 and build-mingw-64 jobs. These currently end up
picking up Linux pkg-config instead of MinGW pkg-config, which in turn
causes configure to pick up Linux OpenGL and XCB. We happen to get away
with that at the moment because none of the code using HAVE_OPENGL or
HAVE_XCB ends up getting built for Windows, but that's about to change.
Specifically, we'd like to build the vkd3d versions of the demos for
Windows.
2025-04-23 18:13:07 +02:00
Giovanni Mascellani
653e4f47ac ci: Disable testing with DXC on macOS.
With this we can finally disallow failure for the macOS CI script,
which is more valuable than checking DXC. Eventually DXC tests
will have to be fixed, though.
2025-04-03 20:28:27 +02:00
Giovanni Mascellani
101f070f12 ci: Define VKD3D_TEST_DEBUG when running the CI scripts.
Essentially to make d3d12.log more readable.
2025-03-17 15:14:23 +01:00
Henri Verbeet
57518d5312 ci: Install libjson-perl. 2025-03-02 17:08:51 +01:00
Henri Verbeet
1fd89abcc3 vkd3d-shader: Enable DXIL support in the default configuration. 2025-02-24 15:10:08 +01:00
Giovanni Mascellani
5bfcd81182 ci: Explicitly install SPIRV-Tools in the macOS CI environment. 2025-01-22 14:56:43 +01:00
Giovanni Mascellani
72394d9ae3 vkd3d: Use WARN rather than ERR in vkd3d_instance_init().
ERR is used to indicate internal inconsistencies in vkd3d. Here that's
not the case, we simply have to forward the error condition to the
caller.

This fixes failures on the CI with llvmpipe, because the build we use is
compiled without support for VK_KHR_surface and related extensions.
2024-11-14 14:09:04 +01:00
Giovanni Mascellani
c010fb63a1 ci: Update Mesa to version 24.2.4.
This fixes a number of CI failures with llvmpipe.
2024-11-13 16:23:45 +01:00
Giovanni Mascellani
794f4c30f4 ci: Error out on Objective-C warnings.
Except for the known uninteresting ones.
2024-11-04 17:02:32 +01:00
Giovanni Mascellani
624eccbab1 ci: Update the DXC version used on the CI to 1.8.2407.
Unfortuantely different versions of DXC accept or fail differently
in some cases. We don't care too much about validating the DXC
behavior itself, but it's useful that all the CI jobs use the
same version so that we don't have to complicate the shader runner
language.

The macOS version is currently bound to be pretty recent because
otherwise libdxil.dylib is not provided. So I'm updating the
Linux and Windows version as well.

I don't expect it should be particularly hard for other maintainers
to keep up with the DXC updates, since it just amounts to
downloading a ZIP file and extracting two libraries.
2024-10-28 17:36:17 +01:00
Giovanni Mascellani
7fbed358c9 ci: Build DXC for release.
Otherwise a lot of assertions trigger, even for legitimate uses.
2024-10-22 20:32:51 +02:00
Giovanni Mascellani
ca309e439a ci: Test DXIL shaders on macOS.
This unfortunately introduces a lot of failures, because it turns
out there is still work to do there. But at least we can
estimate how bad we're doing.
2024-10-17 17:31:22 +02:00
Giovanni Mascellani
19c699870b ci: Build the DirectX shader compiler for macOS. 2024-10-17 17:31:22 +02:00
Giovanni Mascellani
7c3f424a97 ci: Stop building widl for the macOS image. 2024-10-17 17:31:22 +02:00