add back recursive fetch

This commit is contained in:
Lion Kortlepel
2023-12-05 13:29:59 +01:00
parent c047565b0a
commit 8ab018485b
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ jobs:
image: debian:11
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install Dependencies
run: bash ./scripts/debian/1-install-deps.sh

View File

@@ -8,4 +8,10 @@ then
git clone https://github.com/lionkor/commandline/ deps/commandline
fi
if [ -ne ./deps/commandline/CMakeLists.txt ]
then
rm -rf deps/commandline
git clone https://github.com/microsoft/vcpkg/ deps/commandline
fi
cmake ${1:-.} -B bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -s -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,--build-id=none -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON || cat "$SOURCE"/server/bin/vcpkg-bootstrap.log