Repository navigation
[M2-GOLD-01] Golden image test infrastructure (TEST-008, canonical 1280x720 frame) - #98
Merged
Merged
Conversation
…d of including the gtest-coupled test-support header (the CI runners have no system gtest)
… runners have no usable OpenGL 3.3 (the GL gtest suites GTEST_SKIP there), so the Linux llvmpipe lanes are the only CI lanes running the golden comparison
…lden-update): workflow_dispatch only sees workflows on the default branch, so the PR-time reference regeneration path must live in ci-pull.yml (the dispatch workflow keeps the post-merge master path)
…se build links tools into build/bin (CMAKE_RUNTIME_OUTPUT_DIRECTORY), not build/tools/golden
…e environment): rendered by the label-gated golden-references job, extracted from its log between the GOLDEN_REFERENCE markers, in-run determinism compare failing=0 / max_diff=0
…ane job and the post-merge dispatch workflow)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Golden image test infrastructure (M2-GOLD-01): offscreen FBO capture (new GlContext::readPixels) + the laige-golden tool (compare against committed reference PNGs with the explicit tolerance — max channel diff 2 inclusive, 0.001% pixel budget; --update regenerates references, human-approved) + the first two fixtures (the M2-SPRITE-02 1000-sprite scene and the M2-UI-02 UI scene, canonical 1280x720 frame, GL-free builders pinned by the golden_compare gtest suite) + the workflow_dispatch-only golden-update.yml that renders references on CI and prints them as base64 between log markers (the PR lane cannot upload artifacts). stb_image/stb_image_write join the pinned stb dependency; laige-api.json regenerated last (1851 -> 1852); no budgets.json entry (17). Local 4-tree Linux gate green (119/119, 119/119, 114/114, 114/114; GL-creating entries excluded per the GPU local-execution policy). NOTE: the first CI run's golden entry is expected RED (references not yet committed — the documented two-run bootstrap); references land in a follow-up commit after the human-approved golden-update dispatch.