Compare commits

...

8 Commits

Author SHA1 Message Date
Serhii Snitsaruk 658bf156fe
Merge 32393d6f64 into 0e059c8a52 2024-07-21 15:22:15 +02:00
Serhii Snitsaruk 32393d6f64
GHA: Refactor stripping of iOS libraries 2024-07-19 11:17:23 +02:00
Serhii Snitsaruk 66931c1a36
GHA: Build with ios_simulator=yes flag 2024-07-19 11:01:01 +02:00
Serhii Snitsaruk ee79d6ca2d
GHA: Change iOS arch to arm64 & build simulator libs 2024-07-19 11:01:01 +02:00
Serhii Snitsaruk 152d80a182
GHA: Disable stripping of iOS libs 2024-07-19 11:00:54 +02:00
Serhii Snitsaruk 6bfc2005c6
Add iOS builds to the GDExtension manifest 2024-07-19 10:51:01 +02:00
Serhii Snitsaruk 1b9a984314
GHA: Change default godot-cpp branch to master 2024-07-19 10:51:01 +02:00
Serhii Snitsaruk f112198031
GHA: Add GDExtension iOS builds 2024-07-19 10:50:48 +02:00
2 changed files with 40 additions and 4 deletions

View File

@ -5,7 +5,7 @@ on:
godot-cpp-ref:
description: A tag, branch or commit hash in the godot-cpp repository.
type: string
default: 4.2
default: master
limboai-ref:
description: A tag, branch or commit hash in the LimboAI repository.
type: string
@ -20,7 +20,7 @@ on:
godot-cpp-ref:
description: A tag, branch or commit hash in the godot-cpp repository.
type: string
default: 4.2
default: master
limboai-ref:
description: A tag, branch or commit hash in the LimboAI repository.
type: string
@ -160,6 +160,36 @@ jobs:
arch: x86_32
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:
- { opts: { should-build: false } }
@ -272,7 +302,7 @@ jobs:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: |
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH
scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{env.SCONSFLAGS}}
scons platform=${{matrix.opts.platform}} target=${{matrix.opts.target}} arch=${{matrix.opts.arch}} ${{matrix.opts.scons-flags}} ${{env.SCONSFLAGS}}
- name: Prepare artifact
shell: bash
@ -292,8 +322,10 @@ jobs:
run: |
ls -l -R out/addons/limboai/bin/
echo "---"
if [ "$RUNNER_OS" == "macOS" ]; then
if [ "${{matrix.opts.platform}}" == "macos" ]; then
strip -u out/addons/limboai/bin/liblimboai*/liblimboai*
elif [ "${{matrix.opts.platform}}" == "ios" ]; then
strip -u out/addons/limboai/bin/liblimboai*
else
strip out/addons/limboai/bin/liblimboai*
fi

View File

@ -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.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"
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.release.wasm32 = "res://addons/limboai/bin/liblimboai.web.template_release.wasm32.wasm"