Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
test: isolate GPU loss checks from desktop runtime libraries
Richie McIlroy61a2d4066196
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1ae98bcb2..03882d757 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -314,15 +314,7 @@ jobs:- name: Test export preview device-loss handlingshell: bash- run: |- if [[ "$RUNNER_OS" == "Windows" ]]; then- export PATH="$(cygpath "$GITHUB_WORKSPACE/target/debug"):$PATH"- fi- cargo test --locked -p cap-desktop --lib gpu_device_health::tests- env:- DYLD_FRAMEWORK_PATH: ${{ format('{0}/target/Frameworks', github.workspace) }}- DYLD_LIBRARY_PATH: ${{ format('{0}/target/native-deps/lib:{0}/target/debug', github.workspace) }}- LD_LIBRARY_PATH: ${{ runner.os == 'Linux' && format('{0}/target/native-deps/lib:{0}/target/debug', github.workspace) || '' }}+ run: cargo test --locked -p cap-desktop --test gpu_device_health- name: Test Linux desktop regressionsif: ${{ runner.os == 'Linux' }}diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.tomlindex 928340c71..1574732aa 100644--- a/apps/desktop/src-tauri/Cargo.toml+++ b/apps/desktop/src-tauri/Cargo.toml@@ -190,3 +190,7 @@ nix = { version = "0.29.0", features = ["fs"] }[dev-dependencies]tauri = { workspace = true, features = ["test"] }wgpu = { workspace = true, features = ["noop"] }++[[test]]+name = "gpu_device_health"+path = "src/gpu_device_health.rs"