|
|
|
@ -49,21 +49,16 @@ jobs:
@@ -49,21 +49,16 @@ jobs:
|
|
|
|
|
./steam-runtime/setup_chroot.sh --i386 --tarball ./com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz |
|
|
|
|
sudo sed -i 's/groups=sudo/groups=adm/g' /etc/schroot/chroot.d/steamrt_scout_i386.conf |
|
|
|
|
|
|
|
|
|
- name: Build with xash3d-fwgs input |
|
|
|
|
- name: Build on Linux |
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') |
|
|
|
|
run: | |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake -B build-fwgs -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake --build build-fwgs --target all |
|
|
|
|
- name: Build with goldsource input |
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') |
|
|
|
|
run: | |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DGOLDSOURCE_SUPPORT=ON -DCMAKE_INSTALL_PREFIX="$PWD/dist" |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DCMAKE_INSTALL_PREFIX="$PWD/dist" |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target all |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target install |
|
|
|
|
- name: Build with goldsource input and vgui |
|
|
|
|
- name: Build on Linux with vgui |
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.cc, 'gcc') |
|
|
|
|
run: | |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake -B build-vgui -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DGOLDSOURCE_SUPPORT=ON -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="$PWD/dist-vgui" |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake -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 |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target all |
|
|
|
|
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install |
|
|
|
@ -78,15 +73,15 @@ jobs:
@@ -78,15 +73,15 @@ jobs:
|
|
|
|
|
- name: Add msbuild to PATH |
|
|
|
|
if: startsWith(matrix.os, 'windows') |
|
|
|
|
uses: microsoft/setup-msbuild@v1.0.2 |
|
|
|
|
- name: Build with msvc |
|
|
|
|
- name: Build on Windows |
|
|
|
|
if: startsWith(matrix.os, 'windows') |
|
|
|
|
run: | |
|
|
|
|
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DGOLDSOURCE_SUPPORT=ON -DCMAKE_INSTALL_PREFIX="dist" |
|
|
|
|
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist" |
|
|
|
|
msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj |
|
|
|
|
- name: Build with msvc and vgui |
|
|
|
|
- name: Build on Windows with vgui |
|
|
|
|
if: startsWith(matrix.os, 'windows') |
|
|
|
|
run: | |
|
|
|
|
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DGOLDSOURCE_SUPPORT=ON -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui" |
|
|
|
|
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui" |
|
|
|
|
msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj |
|
|
|
|
|
|
|
|
|
- name: Extract branch name |
|
|
|
|