diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 8ec9af9..3257263 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -43,7 +43,6 @@ runs: SCONS_CACHE_LIMIT: 7168 working-directory: godot-cpp run: | - scons target=template_debug platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes production=yes scons target=template_release platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes production=yes - name: Build Physics Server Box2D shell: sh @@ -51,5 +50,4 @@ runs: SCONS_CACHE: "${{ github.workspace }}/.scons-cache/" SCONS_CACHE_LIMIT: 7168 run: | - scons target=template_debug platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=no production=yes scons target=template_release platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=no production=yes diff --git a/bin/addons/godot-box2d/godot-box2d.gdextension b/bin/addons/godot-box2d/godot-box2d.gdextension index 8716708..5ad1284 100644 --- a/bin/addons/godot-box2d/godot-box2d.gdextension +++ b/bin/addons/godot-box2d/godot-box2d.gdextension @@ -1,27 +1,27 @@ [configuration] entry_symbol = "physics_server_box2d_library_init" -compatibility_minimum = 4.1 +compatibility_minimum = 4.2 [libraries] -macos.debug = "res://addons/godot-box2d/bin/libgodot-box2d.macos.template_debug.framework" +macos.debug = "res://addons/godot-box2d/bin/libgodot-box2d.macos.template_release.framework" macos.release = "res://addons/godot-box2d/bin/libgodot-box2d.macos.template_release.framework" -ios.debug = "res://addons/godot-box2d/bin/libgodot-box2d.ios.template_debug.arm64.dylib" +ios.debug = "res://addons/godot-box2d/bin/libgodot-box2d.ios.template_release.arm64.dylib" ios.release = "res://addons/godot-box2d/bin/libgodot-box2d.ios.template_release.arm64.dylib" -windows.debug.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_debug.x86_32.dll" +windows.debug.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_release.x86_32.dll" windows.release.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_release.x86_32.dll" -windows.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_debug.x86_64.dll" +windows.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_release.x86_64.dll" windows.release.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.windows.template_release.x86_64.dll" -linux.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.linux.template_debug.x86_64.so" +linux.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.linux.template_release.x86_64.so" linux.release.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.linux.template_release.x86_64.so" -android.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_debug.x86_64.so" +android.debug.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.x86_64.so" android.release.x86_64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.x86_64.so" -android.debug.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_debug.x86_32.so" +android.debug.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.x86_32.so" android.release.x86_32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.x86_32.so" -android.debug.arm64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_debug.arm64.so" +android.debug.arm64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.arm64.so" android.release.arm64 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.arm64.so" -android.debug.arm32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_debug.arm32.so" +android.debug.arm32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.arm32.so" android.release.arm32 = "res://addons/godot-box2d/bin/libgodot-box2d.android.template_release.arm32.so" -web.debug.wasm32 = "res://addons/godot-box2d/bin/libgodot-box2d.web.template_debug.wasm32.wasm" +web.debug.wasm32 = "res://addons/godot-box2d/bin/libgodot-box2d.web.template_release.wasm32.wasm" web.release.wasm32 = "res://addons/godot-box2d/bin/libgodot-box2d.web.template_release.wasm32.wasm" diff --git a/scripts/build.sh b/scripts/build.sh index dbf830b..8b34daa 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,4 @@ -scons target=template_debug generate_bindings=no arch=arm64 +scons target=template_release generate_bindings=no arch=arm64 rm -rf Godot-Physics-Tests/addons cp -rf bin/addons Godot-Physics-Tests/addons