builds godot
Diffstat (limited to '.github/actions/build-godot/action.yml')
| -rw-r--r-- | .github/actions/build-godot/action.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/actions/build-godot/action.yml b/.github/actions/build-godot/action.yml index 86872e3..eb40b0c 100644 --- a/.github/actions/build-godot/action.yml +++ b/.github/actions/build-godot/action.yml @@ -52,8 +52,11 @@ 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 - scons -j$((cores+2)) p=${{ inputs.platform }} target=${{ inputs.target }} use_lto=yes udev=yes $scons_flags - [[ ${{ inputs.target}} != "editor" ]] && strip bin/* || true + [[ ${{ inputs.target }} == "editor" ]] && scons_flags="$scons_flags debug_symbols=yes" + [[ ${{ 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" + [[ ${{ inputs.target}} != "editor" ]] && strip -v bin/* || true ls bin echo ::endgroup:: shell: bash |