builds godot
make js use 4 threads too
bendn 2022-12-03
parent 446167d · commit 26f0ad2
-rw-r--r--.github/actions/build-godot/action.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/.github/actions/build-godot/action.yml b/.github/actions/build-godot/action.yml
index 4227fc1..d3c5302 100644
--- a/.github/actions/build-godot/action.yml
+++ b/.github/actions/build-godot/action.yml
@@ -50,7 +50,6 @@ runs:
cd godot
scons_flags=${{ env.flags }}
cores=$(nproc) || cores=$(sysctl -n hw.ncpu)
- [[ ${{ inputs.platform }} == "web" ]] && cores=1
[[ -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