Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): DXC next to ci-verify test binaries on Windows instead of serialising WARP tests

Richie McIlroydd3a3020164e
diff --git a/.config/nextest.toml b/.config/nextest.toml
index a56162588..1fe4e2650 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -31,12 +31,3 @@ store-failure-output = true
filter = 'binary_id(cap-rendering) and test(/^decoder::model::/)'
threads-required = 3
-# Windows hosted runners render through WARP; concurrent wgpu devices in
-# parallel test processes lose the device. One rendering test at a time there.
-[test-groups]
-warp = { max-threads = 1 }
-
-[[profile.ci.overrides]]
-platform = 'cfg(windows)'
-filter = 'package(cap-verify) and not binary_id(cap-verify::codec) and not binary_id(cap-verify)'
-test-group = 'warp'
diff --git a/.github/actions/engine-verify-setup/action.yml b/.github/actions/engine-verify-setup/action.yml
index 78857c76d..a1f1ab65f 100644
--- a/.github/actions/engine-verify-setup/action.yml
+++ b/.github/actions/engine-verify-setup/action.yml
@@ -78,6 +78,16 @@ runs:
shell: bash
run: echo "LD_LIBRARY_PATH=${{ github.workspace }}/target/native-deps/lib" >> "$GITHUB_ENV"
+ # The app ships DXC next to its executable and cap-rendering looks for it
+ # next to the test binary or in its profile dir; setup.js only fills
+ # target/debug and target/release. Without it wgpu falls back to FXC.
+ - name: DXC for the ci-verify profile (Windows)
+ if: runner.os == 'Windows'
+ shell: bash
+ run: |
+ mkdir -p target/ci-verify
+ cp target/native-deps/dxc/dxcompiler.dll target/native-deps/dxc/dxil.dll target/ci-verify/
+
- name: FFmpeg DLLs on PATH (Windows)
if: runner.os == 'Windows'
shell: pwsh