ci: add multi-arch CI and DESTDIR-staged autopkgtests for libppd#75
Merged
tillkamppeter merged 4 commits intoJun 12, 2026
Merged
Conversation
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
Adds a multi-architecture CI workflow and runs the downstream Debian
autopkgtests against an in-tree DESTDIR-staged build, so libppd is tested
end-to-end on every push/PR without needing the package installed system-wide.
What's included
.github/workflows/build.yml): builds libppd and runsmake checkon four architectures — amd64, arm64 (native) and armhf,riscv64 (QEMU-emulated).
Makefile.am,ci/autopkgtest/): installsinto an ephemeral
_ciroottree and runs both downstream tests(
libppd-2-dev,libppd-2-ppd-handling) against it viaPATH / LD_LIBRARY_PATH / PKG_CONFIG_PATH pointed at the staged tree.
libppd-2-ppd-handlingtestreads
LIBPPD_TESTPPD/LIBPPD_PPDDIRenv overrides that default to theoriginal
/usrpaths (fully backward-compatible with the real Debianautopkgtest). This replaces the earlier bind-mount/proot redirection, so the
full suite runs unprivileged and identically on native and emulated legs.
Notes
libppd.pc.in:Cflagsnow exports-I${includedir} -I${includedir}/ppd(was
-I${includedir}/ppdonly). Headers install under$(includedir)/ppd/and consumers use
<ppd/ppd.h>, which needs-I${includedir}. The old flagis kept for backward compatibility — this is a genuine
.pcfix, not just aCI workaround.
./configure --enable-ppdc-utils(thelibppd-2-devtestcompiles a
.drvwith the stagedppdc).