From f863c73339455afda0230ac8e7737a258e334351 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 24 Jan 2026 23:51:50 +0000 Subject: [PATCH] Restore build flags and add ccache Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/build.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a53052e15..e08ba5588 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,7 +18,6 @@ jobs: uses: actions/checkout@v5 with: submodules: recursive - fetch-depth: 0 - name: Mark workspace safe run: git config --global --add safe.directory "$GITHUB_WORKSPACE" @@ -27,7 +26,7 @@ jobs: working-directory: ${{ github.workspace }} run: | mkdir -p build && cd build - cmake -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + cmake -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -DEQEMU_BUILD_PERL=ON -DEQEMU_BUILD_CLIENT_FILES=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache .. make -j"$(nproc)" - name: Test @@ -53,12 +52,14 @@ jobs: run: | mkdir -p /tmp/bin tar -xzf eqemu-linux-bins.tgz -C /tmp/bin - 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 + for bin in world zone ucs loginserver queryserv shared_memory eqlaunch; do + missing_libs="$(ldd "/tmp/bin/${bin}" | grep "not found" || true)" + if [ -n "$missing_libs" ]; then + echo "Missing shared libraries for ${bin}:" + echo "$missing_libs" + exit 1 + fi + done /tmp/bin/world --help || { echo "'world --help' failed"; exit 1; } - name: Upload linux binaries