Compare commits
10 Commits
d08273e875
...
9e20a91507
Author | SHA1 | Date |
---|---|---|
Serhii Snitsaruk | 9e20a91507 | |
Serhii Snitsaruk | 3b15abf2c9 | |
Serhii Snitsaruk | 6d049a3701 | |
Serhii Snitsaruk | 65454c36a8 | |
Serhii Snitsaruk | e0e15b0ec4 | |
Serhii Snitsaruk | ee8c773e71 | |
Serhii Snitsaruk | 7f38fe2b8b | |
Serhii Snitsaruk | 500775eb14 | |
Serhii Snitsaruk | 1cdde4d5a9 | |
Serhii Snitsaruk | 2e0047bb59 |
|
@ -168,6 +168,36 @@ jobs:
|
||||||
arch: x86_32
|
arch: x86_32
|
||||||
should-build: ${{ !inputs.test-build }}
|
should-build: ${{ !inputs.test-build }}
|
||||||
|
|
||||||
|
- name: 🍏 iOS (arm64, release)
|
||||||
|
runner: macos-latest
|
||||||
|
platform: ios
|
||||||
|
target: template_release
|
||||||
|
arch: arm64
|
||||||
|
should-build: ${{ !inputs.test-build }}
|
||||||
|
|
||||||
|
- name: 🍏 iOS (arm64, debug)
|
||||||
|
runner: macos-latest
|
||||||
|
platform: ios
|
||||||
|
target: template_debug
|
||||||
|
arch: arm64
|
||||||
|
should-build: ${{ !inputs.test-build }}
|
||||||
|
|
||||||
|
- name: 🍏 iOS (simulator, release)
|
||||||
|
runner: macos-latest
|
||||||
|
platform: ios
|
||||||
|
target: template_release
|
||||||
|
arch: universal
|
||||||
|
scons-flags: ios_simulator=yes
|
||||||
|
should-build: ${{ !inputs.test-build }}
|
||||||
|
|
||||||
|
- name: 🍏 iOS (simulator, debug)
|
||||||
|
runner: macos-latest
|
||||||
|
platform: ios
|
||||||
|
target: template_debug
|
||||||
|
arch: universal
|
||||||
|
scons-flags: ios_simulator=yes
|
||||||
|
should-build: ${{ !inputs.test-build }}
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- { opts: { should-build: false } }
|
- { opts: { should-build: false } }
|
||||||
|
|
||||||
|
@ -271,7 +301,7 @@ jobs:
|
||||||
DEBUG_FLAGS: ${{ inputs.debug-symbols && 'debug_symbols=yes symbols_visibility=visible' || 'debug_symbols=no' }}
|
DEBUG_FLAGS: ${{ inputs.debug-symbols && 'debug_symbols=yes symbols_visibility=visible' || 'debug_symbols=no' }}
|
||||||
run: |
|
run: |
|
||||||
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH
|
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH
|
||||||
scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{env.DEBUG_FLAGS}} ${{env.SCONSFLAGS}}
|
scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{env.DEBUG_FLAGS}} ${{matrix.opts.scons-flags}} ${{env.SCONSFLAGS}}
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -136,7 +136,14 @@ jobs:
|
||||||
|
|
||||||
- name: Set up Vulkan SDK
|
- name: Set up Vulkan SDK
|
||||||
run: |
|
run: |
|
||||||
sh misc/scripts/install_vulkan_sdk_macos.sh
|
# ! Note: Vulkan SDK changed packaging, so we need to inline these steps for the time being.
|
||||||
|
#sh misc/scripts/install_vulkan_sdk_macos.sh
|
||||||
|
|
||||||
|
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
|
||||||
|
unzip /tmp/vulkan-sdk.zip -d /tmp
|
||||||
|
/tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan --accept-licenses --default-answer --confirm-command install
|
||||||
|
rm -Rf /tmp/InstallVulkan.app
|
||||||
|
rm -f /tmp/vulkan-sdk.zip
|
||||||
|
|
||||||
- name: Set up scons cache
|
- name: Set up scons cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
@ -192,7 +199,14 @@ jobs:
|
||||||
|
|
||||||
- name: Set up Vulkan SDK
|
- name: Set up Vulkan SDK
|
||||||
run: |
|
run: |
|
||||||
sh misc/scripts/install_vulkan_sdk_macos.sh
|
# ! Note: Vulkan SDK changed packaging, so we need to inline these steps for the time being.
|
||||||
|
#sh misc/scripts/install_vulkan_sdk_macos.sh
|
||||||
|
|
||||||
|
curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.zip" -o /tmp/vulkan-sdk.zip
|
||||||
|
unzip /tmp/vulkan-sdk.zip -d /tmp
|
||||||
|
/tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan --accept-licenses --default-answer --confirm-command install
|
||||||
|
rm -Rf /tmp/InstallVulkan.app
|
||||||
|
rm -f /tmp/vulkan-sdk.zip
|
||||||
|
|
||||||
- name: Download templates artifact
|
- name: Download templates artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
|
@ -172,9 +172,8 @@ void BTTask::initialize(Node *p_agent, const Ref<Blackboard> &p_blackboard, Node
|
||||||
get_child(i)->initialize(p_agent, p_blackboard, p_scene_root);
|
get_child(i)->initialize(p_agent, p_blackboard, p_scene_root);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GDVIRTUAL_CALL(_setup)) {
|
_setup();
|
||||||
_setup();
|
GDVIRTUAL_CALL(_setup);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ref<BTTask> BTTask::clone() const {
|
Ref<BTTask> BTTask::clone() const {
|
||||||
|
|
|
@ -25,6 +25,10 @@ android.debug.x86_64 = "res://addons/limboai/bin/liblimboai.android.template_deb
|
||||||
android.release.x86_64 = "res://addons/limboai/bin/liblimboai.android.template_release.x86_64.so"
|
android.release.x86_64 = "res://addons/limboai/bin/liblimboai.android.template_release.x86_64.so"
|
||||||
android.debug.x86_32 = "res://addons/limboai/bin/liblimboai.android.template_debug.x86_32.so"
|
android.debug.x86_32 = "res://addons/limboai/bin/liblimboai.android.template_debug.x86_32.so"
|
||||||
android.release.x86_32 = "res://addons/limboai/bin/liblimboai.android.template_release.x86_32.so"
|
android.release.x86_32 = "res://addons/limboai/bin/liblimboai.android.template_release.x86_32.so"
|
||||||
|
ios.release.arm64 = "res://addons/limboai/bin/liblimboai.ios.template_release.arm64.dylib"
|
||||||
|
ios.debug.arm64 = "res://addons/limboai/bin/liblimboai.ios.template_debug.arm64.dylib"
|
||||||
|
ios.release.simulator = "res://addons/limboai/bin/liblimboai.ios.template_release.universal.dylib"
|
||||||
|
ios.debug.simulator = "res://addons/limboai/bin/liblimboai.ios.template_debug.universal.dylib"
|
||||||
web.debug.wasm32 = "res://addons/limboai/bin/liblimboai.web.template_debug.wasm32.wasm"
|
web.debug.wasm32 = "res://addons/limboai/bin/liblimboai.web.template_debug.wasm32.wasm"
|
||||||
web.release.wasm32 = "res://addons/limboai/bin/liblimboai.web.template_release.wasm32.wasm"
|
web.release.wasm32 = "res://addons/limboai/bin/liblimboai.web.template_release.wasm32.wasm"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue