Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
only do release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Dec 8, 2023
1 parent 6f0137c commit 458f110
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ 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
env:
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
22 changes: 11 additions & 11 deletions bin/addons/godot-box2d/godot-box2d.gdextension
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 458f110

Please sign in to comment.