From aa867a8fb30f725ac18192a55fc0df5eb63dd608 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 24 Jan 2026 21:20:46 +0000 Subject: [PATCH] Improve workflow smoke test checks Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/build.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d39aa7efc..f98558230 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,6 +32,10 @@ jobs: run: | install -d /tmp/package-bin for bin in world zone ucs loginserver queryserv shared_memory eqlaunch; do + if [ ! -f "build/bin/${bin}" ]; then + echo "Missing binary: ${bin}" + exit 1 + fi cp "build/bin/${bin}" "/tmp/package-bin/${bin}" chmod +x "/tmp/package-bin/${bin}" done @@ -42,8 +46,10 @@ jobs: run: | mkdir -p /tmp/bin tar -xzf eqemu-linux-bins.tgz -C /tmp/bin - if ldd /tmp/bin/world | grep -q "not found"; then - echo "Missing shared libraries" + missing_libs="$(ldd /tmp/bin/world | grep "not found" || true)" + if [ -n "$missing_libs" ]; then + echo "Missing shared libraries:" + echo "$missing_libs" exit 1 fi /tmp/bin/world --help