From 56446f7a12e6ef6013c3d036ca802b193b2abadc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:47:55 +0000 Subject: [PATCH 2/8] Include vcpkg runtime libs in linux package Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 403b566f9..b85735bb3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -95,7 +95,7 @@ jobs: fi done - # Add shared libraries needed for runtime (from build/bin and build/libs) + # Add shared libraries needed for runtime (from build/bin, build/libs, and vcpkg_installed) bin_lib_count="$(find . -maxdepth 1 -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) | wc -l)" if [ "$bin_lib_count" -gt 0 ]; then find . -maxdepth 1 -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \ @@ -117,6 +117,22 @@ jobs: else echo "No build/libs directory found; skipping shared library packaging" fi + + for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do + if [ -d "$vcpkg_dir" ]; then + lib_count="$(find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print | wc -l)" + if [ "$lib_count" -gt 0 ]; then + find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \ + while IFS= read -r -d '' lib; do + zip_add_unique "$lib" + done + else + echo "No shared libraries found in $vcpkg_dir" + fi + else + echo "No $vcpkg_dir directory found; skipping vcpkg shared library packaging" + fi + done # Verify zip file was created and contains files if [ ! -f eqemu-server-linux-x64.zip ]; then From 05fd084c5f1e3a3e09e4b667b4fa01789fb847a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:48:49 +0000 Subject: [PATCH 3/8] Exclude debug vcpkg libs from packaging Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b85735bb3..78471c999 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,9 +120,9 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print | wc -l)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" if [ "$lib_count" -gt 0 ]; then - find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \ + find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do zip_add_unique "$lib" done From 70aee1e9b529db78f7d9f89d50645b2b0db59a8e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:49:38 +0000 Subject: [PATCH 4/8] Harden vcpkg lib counting in package step Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 78471c999..824741a1e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,7 +120,7 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | tr -cd '\0' | wc -c)" if [ "$lib_count" -gt 0 ]; then find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do From aeafa03ce307ba886adc5a8b85c14691a99dbfd6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 03:50:01 +0000 Subject: [PATCH 5/8] Fix vcpkg lib count for packaging Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 824741a1e..2d7b495d1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,7 +120,7 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | tr -cd '\0' | wc -c)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | awk 'BEGIN{RS=\"\\0\"} END{print NR}')" if [ "$lib_count" -gt 0 ]; then find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do From 036ffbbeddab9085f8eec01858594d454789240a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 04:01:23 +0000 Subject: [PATCH 6/8] Align vcpkg lib counting with existing pattern Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d7b495d1..78471c999 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,7 +120,7 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | awk 'BEGIN{RS=\"\\0\"} END{print NR}')" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" if [ "$lib_count" -gt 0 ]; then find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do From 4d97f1d30382cc7c36213b6e98f6f4091b1d87e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 04:02:44 +0000 Subject: [PATCH 7/8] Count vcpkg libs using null-delimited paths Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 78471c999..46105f04b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,7 +120,7 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | xargs -0 -n 1 echo | wc -l)" if [ "$lib_count" -gt 0 ]; then find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do From 02c08105611713ed39df266fb07c3400cb013a2d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 04:04:13 +0000 Subject: [PATCH 8/8] Simplify vcpkg library count in packaging step Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 46105f04b..78471c999 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -120,7 +120,7 @@ jobs: for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do if [ -d "$vcpkg_dir" ]; then - lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | xargs -0 -n 1 echo | wc -l)" + lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)" if [ "$lib_count" -gt 0 ]; then find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \ while IFS= read -r -d '' lib; do