fix(qa): give the Linux runner fontconfig - #41
Merged
Conversation
With Tauri out of the headless graph the build gets past glib and stops at
The system library `fontconfig` required by crate
`yeslogic-fontconfig-sys` was not found.
`blitz-dom`'s `system-fonts` is deliberate and stays. The note in
apps/chuzz/Cargo.toml says why: without it parley finds no face, every line
shapes to zero height, and a capture comes out blank while every assertion
about the tree still passes. A silently empty screenshot is worse than a build
that fails, so the runner gets the library rather than the browser losing its
fonts.
Only fontconfig, and only on Linux. The window stack is gone, and of what is
left, `aws-lc-sys` and `zstd-sys` vendor their C, `wayland-sys` dlopens,
`renderdoc-sys` is header-only, and `dirs-sys` and `linux-raw-sys` are Rust.
That list is from `cargo tree --target x86_64-unknown-linux-gnu` on the
headless feature set, so it is what the runner actually resolves rather than
what a macOS build happens to need.
No version bump: this file is consumed at `@master` by every site's workflow
and ships nothing.
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.
With Tauri out of the graph the headless build gets past glib and stops at:
system-fontsstays. The note inapps/chuzz/Cargo.tomlsays why: without it parley finds no face, every line shapes to zero height, and a capture comes out blank while every assertion about the tree still passes. A silently empty screenshot beats no build only if you never look at it.So the runner gets
libfontconfig1-dev, Linux only.I checked the rest of the graph in one pass rather than one failure at a time.
cargo tree --target x86_64-unknown-linux-gnuon the headless feature set givesaws-lc-sysandzstd-sys(vendor their C),wayland-sys(dlopen),renderdoc-sys(header-only),dirs-sysandlinux-raw-sys(pure Rust). Fontconfig is the only one that needs a package.Also confirmed the GPU renderer cannot be dropped:
--features capture,javascript,scrollbarsfails withAt least one renderer feature must be enabled, so the existing comment about needingvellois still accurate.No version bump — this file is consumed at
@masterand ships nothing.