builds godot
disable debug symbols
| -rw-r--r-- | .github/2d-build-modules.py | 1 | ||||
| -rw-r--r-- | .github/actions/build-godot/action.yml | 2 | ||||
| -rw-r--r-- | .github/normal-build-modules.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/.github/2d-build-modules.py b/.github/2d-build-modules.py index 0ef670b..698b100 100644 --- a/.github/2d-build-modules.py +++ b/.github/2d-build-modules.py @@ -1,3 +1,4 @@ +debug_symbols = "no" brotli = "yes" # compression and woff2 dbus = "no" # screensaver and portal execinfo = "no" diff --git a/.github/actions/build-godot/action.yml b/.github/actions/build-godot/action.yml index eb40b0c..23d7b07 100644 --- a/.github/actions/build-godot/action.yml +++ b/.github/actions/build-godot/action.yml @@ -52,7 +52,7 @@ runs: cores=$(nproc) || cores=$(sysctl -n hw.ncpu) [[ -n "${{ inputs.flags }}" ]] && scons_flags="${{ inputs.flags }}" [[ ${{ inputs.target }} == "editor" ]] && scons_flags="${scons_flags//disable_3d=yes/}" # remove disable_3d=yes if editor - [[ ${{ inputs.target }} == "editor" ]] && scons_flags="$scons_flags debug_symbols=yes" + [[ ${{ inputs.target }} == "editor" ]] && scons_flags="$scons_flags debug_symbols=no" [[ ${{ inputs.target }} != "editor" ]] && scons_flags="$scons_flags deprecated=no" scons -j$((cores+2)) p=${{ inputs.platform }} target=${{ inputs.target }} verbose=yes udev=yes dev_build=no lto=auto $scons_flags echo "compile done" diff --git a/.github/normal-build-modules.py b/.github/normal-build-modules.py index 6e3e912..75f14db 100644 --- a/.github/normal-build-modules.py +++ b/.github/normal-build-modules.py @@ -1 +1,2 @@ optimize = "speed" +debug_symbols = "no" |