mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-23 16:36:49 +00:00
add back recursive fetch
This commit is contained in:
2
.github/workflows/build-debian-11.yml
vendored
2
.github/workflows/build-debian-11.yml
vendored
@@ -9,6 +9,8 @@ jobs:
|
|||||||
image: debian:11
|
image: debian:11
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: bash ./scripts/debian/1-install-deps.sh
|
run: bash ./scripts/debian/1-install-deps.sh
|
||||||
|
|||||||
@@ -8,4 +8,10 @@ then
|
|||||||
git clone https://github.com/lionkor/commandline/ deps/commandline
|
git clone https://github.com/lionkor/commandline/ deps/commandline
|
||||||
fi
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user