From 6cdef1d70195c7ff46f780b6da4ea8f01bb60bc5 Mon Sep 17 00:00:00 2001 From: foxnne Date: Sat, 10 Oct 2026 12:53:32 -0500 Subject: [PATCH] ci: the example builds include example-app's dvui app, on both backends Co-Authored-By: Claude Opus 5.5 --- scripts/check-examples.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/check-examples.sh b/scripts/check-examples.sh index 476f2c03b..70543fd5a 100755 --- a/scripts/check-examples.sh +++ b/scripts/check-examples.sh @@ -7,8 +7,8 @@ # dependency does. A path dependency (or `zig build --fork`) would see the whole checkout and # miss a file left out of `.paths`. # -# example-app gets the whole repo, and for its replay app the plugin SDK; example-plugin gets the -# plugin SDK. The SDK is packed as a release would be (`scripts/pack-sdk.sh`). +# example-app gets the whole repo (its shapes, and its dvui app on either backend), and for its +# replay app the plugin SDK; example-plugin gets the plugin SDK. The SDK is packed as a release would be (`scripts/pack-sdk.sh`). # # Usage: # scripts/check-examples.sh # clones both repos' main @@ -67,4 +67,10 @@ echo "== example-app, against this tree" zig build -Dshape=studio -Dzon-layout=true --summary all echo "-- the replay app" zig build replay --summary all + # A plain dvui app on fizzy's backend, its floating windows OS windows (`fizzy.addDvui`, + # `viewports`); and the same code on dvui's own SDL3 backend, through `viewports_none`. + echo "-- the dvui app, on fizzy's backend" + zig build dvui --summary all + echo "-- the dvui app, on dvui's SDL3 backend" + zig build dvui -Ddvui-backend=sdl3 --summary all )