mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
add submodule fetch
This commit is contained in:
8
.github/workflows/build-debian-11.yml
vendored
8
.github/workflows/build-debian-11.yml
vendored
@@ -8,12 +8,10 @@ jobs:
|
||||
container:
|
||||
image: debian:11
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: bash ./scripts/debian/1-install-deps.sh
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: bash ${{github.workspace}}/scripts/debian/1-install-deps.sh
|
||||
|
||||
- name: Create Build Environment
|
||||
run: bash ${{github.workspace}}/scripts/debian/2-configure.sh
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
git submodule update --init --recursive
|
||||
|
||||
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