Cocoa + Emscripten CI coverage #112
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
OragonEfreet/banjo#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.forgejo/workflows/today only exercises Linux (linux-linux-gcc) and MinGW cross-compile (linux-windows-mingw). #107 added or significantly touched two backends that aren't built in CI:src/cocoa/video_cocoa.m) — only buildable on macOS. Regressions only surface when a contributor or maintainer builds on a Mac.src/emscripten/video_emscripten.c) — buildable from Linux throughemscripten/emsdkbut not wired into any workflow.Both backends shipped real changes in #107 (draw-callback wiring, sub-rect present, rAF scheduling on Emscripten); both were validated only locally / manually. Without CI a future PR can break them silently.
Outcome
Two new workflow extensions:
Cocoa
ci-test.yml(or a dedicatedci-macos.yml) that runs on amacos-*runner.APPLE), builds, runsctest.template_callbacksto confirm the lifecycle.Emscripten
emscripten/emsdk:latestcontainer.emcmake cmake ... -DBANJO_CONFIG_EMSCRIPTEN_BACKEND=ON -DBUILD_TESTING=ON.node(e.g.node build/test/unit_app.js).Acceptance criteria
cocoa_request_redraw) goes red in CI.MAIN_THREAD_EM_ASM).main.Out of scope
.forgejo/layout.