ci: check every built driver's server symbols

Each driver job runs check-symbols.sh on the modules it built and
fails when the server does not export a symbol they need. Changes
to abi/ or the driver build script now run the driver jobs.

Signed-off-by: Joseph Crowell <joseph.w.crowell@gmail.com>
This commit is contained in:
Joseph Crowell 2026-11-15 10:32:46 +10:00
commit 5d1e5b1f11
2 changed files with 10 additions and 0 deletions

View file

@ -22,3 +22,11 @@ echo "DRIVER_NAME=$DRIVER_NAME"
echo "DRIVER_VER=$DRIVER_VER"
build_xf86drv_ac "$DRIVER_NAME" "$DRIVER_VER"
# every server symbol the module needs must be exported by this server
abi_tools=$(pkg-config --variable=abi_tools_dir xorg-server)
modules=$(find "xf86-$DRIVER_NAME" -path '*/.libs/*_drv.so')
[ -n "$modules" ] || { echo "no *_drv.so built for $DRIVER_NAME" >&2; exit 1; }
for mod in $modules; do
"$abi_tools/check-symbols.sh" --prefix "$X11_PREFIX" "$mod"
done