GHA: Add GDExtension iOS builds

This commit is contained in:
Serhii Snitsaruk 2024-07-18 17:09:30 +02:00
parent 3565d6dc43
commit f112198031
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 18 additions and 1 deletions

View File

@ -160,6 +160,20 @@ jobs:
arch: x86_32 arch: x86_32
should-build: ${{ !inputs.test-build }} should-build: ${{ !inputs.test-build }}
- name: 🍏 iOS (universal, release)
runner: macos-latest
platform: ios
target: template_release
arch: universal
should-build: ${{ !inputs.test-build }}
- name: 🍏 iOS (universal, debug)
runner: macos-latest
platform: ios
target: template_debug
arch: universal
should-build: ${{ !inputs.test-build }}
exclude: exclude:
- { opts: { should-build: false } } - { opts: { should-build: false } }
@ -293,7 +307,10 @@ jobs:
ls -l -R out/addons/limboai/bin/ ls -l -R out/addons/limboai/bin/
echo "---" echo "---"
if [ "$RUNNER_OS" == "macOS" ]; then if [ "$RUNNER_OS" == "macOS" ]; then
strip -u out/addons/limboai/bin/liblimboai*/liblimboai* # MacOS libs
strip -u out/addons/limboai/bin/liblimboai*/liblimboai* || true
# iOS libs
strip -u out/addons/limboai/bin/liblimboai* || true
else else
strip out/addons/limboai/bin/liblimboai* strip out/addons/limboai/bin/liblimboai*
fi fi