Skip to content

Commit 852fc5a

Browse files
FreeSlavea1batross
authored andcommitted
Copy vgui.so to the base build directory to fix linking with it in github actions
1 parent ab853c9 commit 852fc5a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
run: |
6161
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"
6262
cp vgui_support/vgui-dev/lib/vgui.so build-vgui/cl_dll
63+
cp vgui_support/vgui-dev/lib/vgui.so build-vgui
6364
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target all
6465
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install
6566

.github/workflows/manual.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
run: |
6565
mkdir -p build/cl_dll
6666
cp vgui_support/vgui-dev/lib/vgui.so build/cl_dll
67+
cp vgui_support/vgui-dev/lib/vgui.so build
6768
- name: Build on Linux
6869
if: startsWith(matrix.os, 'ubuntu')
6970
run: |

0 commit comments

Comments
 (0)