From 2eaf4af55660133f37ca57581865b5a46e780f50 Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 29 Oct 2024 19:07:11 +0300 Subject: [PATCH] Fix VGUI autobuild on Linux --- .github/workflows/build.yml | 2 +- .github/workflows/manual.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f9eb1f4d..2744e93a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: if: startsWith(matrix.os, 'ubuntu') run: | schroot --chroot steamrt_scout_i386 -- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VGUI=${{ env.USE_VGUI }} -DCMAKE_INSTALL_PREFIX="$PWD/dist" - if [ ${{ env.USE_VGUI == 'ON' }} ]; then cp vgui_support/vgui-dev/lib/vgui.so build/cl_dll ; fi + if [ ${{ env.USE_VGUI == 'ON' }} ]; then cp vgui_support/vgui-dev/lib/vgui.so build/cl_dll; cp vgui_support/vgui-dev/lib/vgui.so build ; fi schroot --chroot steamrt_scout_i386 -- cmake --build build --target all schroot --chroot steamrt_scout_i386 -- cmake --build build --target install diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 690e6b865..9426f4278 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: |