Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
ci: run the wgpu atlas tests only where wgpu has an adapter
Richie McIlroy8649a44889c9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 992773101..f4afff1a5 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -377,7 +377,8 @@ jobs:# Cap only builds gpui's crates as dependencies, so their own tests never run# in the app jobs above. Run the ones covering Cap's patches against real# devices: Metal on macOS, WARP on Windows, and Mesa's lavapipe (Vulkan) and- # llvmpipe (GL) on Linux. Zed's lockfile predates the patches' dependency+ # llvmpipe (GL) on Linux. Windows renders with D3D11 and its runners expose+ # no wgpu adapter, so wgpu's tests run on macOS and Linux only. Zed's lockfile predates the patches' dependency# changes, so these builds cannot use --locked.gpui-patch-tests:name: GPUI patch tests (${{ matrix.settings.name }})@@ -428,12 +429,10 @@ jobs:if [[ "$RUNNER_OS" == "Linux" ]]; thenWGPU_BACKEND=vulkan cargo +1.95.0 test -p gpui_wgpu --lib wgpu_atlas -- --nocaptureWGPU_BACKEND=gl cargo +1.95.0 test -p gpui_wgpu --lib wgpu_atlas -- --nocapture- else+ elif [[ "$RUNNER_OS" == "macOS" ]]; thencargo +1.95.0 test -p gpui_wgpu --lib wgpu_atlas -- --nocapture- fi- if [[ "$RUNNER_OS" == "macOS" ]]; thencargo +1.95.0 test -p gpui_macos --lib -- metal_atlas metal_renderer- elif [[ "$RUNNER_OS" == "Windows" ]]; then+ elsecargo +1.95.0 test -p gpui_windows --lib directx_atlasfi