2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-21 17:36:18 +01:00

Copy vgui.so to the base build directory to fix linking with it in github actions

This commit is contained in:
Roman Chistokhodov 2024-10-29 18:18:36 +03:00 committed by Alibek Omarov
parent ab853c99da
commit 852fc5abaa
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ jobs:
run: | 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" 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/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 all
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install

View File

@ -64,6 +64,7 @@ jobs:
run: | run: |
mkdir -p build/cl_dll 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/cl_dll
cp vgui_support/vgui-dev/lib/vgui.so build
- name: Build on Linux - name: Build on Linux
if: startsWith(matrix.os, 'ubuntu') if: startsWith(matrix.os, 'ubuntu')
run: | run: |