feat(#462): Path A example compile-check in CI#500
Merged
Conversation
…idation Standalone example that registers a pcap adapter skeleton via wl_io_register_adapter(), linking against installed libwirelog only. Demonstrates the Path A user workflow from #446 section 6. Includes its own meson.build as an independent project using pkg-config.
Install wirelog to a staging dir, then build the pcap skeleton example as a separate project against installed headers. Catches header-install regressions from #449. Uses PKG_CONFIG_SYSROOT_DIR for correct prefix resolution with --destdir installs.
Ubuntu installs .pc files and libraries to lib/x86_64-linux-gnu/ (multiarch triplet). Add dpkg-architecture detection to PKG_CONFIG_PATH and LD_LIBRARY_PATH so the example build finds wirelog in the staging directory on multiarch systems.
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.
Summary
examples/path_a_pcap_skeleton/standalone example that registers a pcap adapter skeleton viawl_io_register_adapter(), linking against installed libwirelog only (Path A workflow from feat: Option C user-defined I/O adapters (static + Android + optional CLI dlopen) #446)meson.buildusingdependency('wirelog')via pkg-config (C11, not part of main build tree)ci-pr.yml(blocking) andci-main.yml(non-blocking): install to staging dir withPKG_CONFIG_SYSROOT_DIRfor correct prefix resolution, build example as separate project, run itTest plan
pcap_skeletonregisters/finds/unregisters adapter correctlyCloses #462