From 852fc5abaa420e486389965f690a8d1519a6fa76 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 29 Oct 2024 18:18:36 +0300 Subject: [PATCH] Copy vgui.so to the base build directory to fix linking with it in github actions --- .github/workflows/build.yml | 1 + .github/workflows/manual.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c75a1c4..11d0d2c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,7 @@ jobs: run: | schroot --chroot steamrt_scout_i386 -- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build-vgui -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="$PWD/dist-vgui" cp vgui_support/vgui-dev/lib/vgui.so build-vgui/cl_dll + cp vgui_support/vgui-dev/lib/vgui.so build-vgui schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target all schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 6002c9ad..6af12aa7 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -64,6 +64,7 @@ jobs: run: | mkdir -p build/cl_dll cp vgui_support/vgui-dev/lib/vgui.so build/cl_dll + cp vgui_support/vgui-dev/lib/vgui.so build - name: Build on Linux if: startsWith(matrix.os, 'ubuntu') run: |