From 04752097740050f7a31b78aaf78c55e7b30a1edd Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Thu, 18 Jul 2024 21:31:48 +0200 Subject: [PATCH] GHA: Build simulator libs for iOS --- .github/workflows/gdextension.yml | 14 ++++++++++++++ gdextension/limboai.gdextension | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gdextension.yml b/.github/workflows/gdextension.yml index 7bbd323..630761d 100644 --- a/.github/workflows/gdextension.yml +++ b/.github/workflows/gdextension.yml @@ -174,6 +174,20 @@ jobs: arch: arm64 should-build: ${{ !inputs.test-build }} + - name: 🍏 iOS (simulator, release) + runner: macos-latest + platform: ios + target: template_release + arch: universal + should-build: ${{ !inputs.test-build }} + + - name: 🍏 iOS (simulator, debug) + runner: macos-latest + platform: ios + target: template_debug + arch: universal + should-build: ${{ !inputs.test-build }} + exclude: - { opts: { should-build: false } } diff --git a/gdextension/limboai.gdextension b/gdextension/limboai.gdextension index 19d3449..50915a5 100644 --- a/gdextension/limboai.gdextension +++ b/gdextension/limboai.gdextension @@ -25,8 +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 = "res://addons/limboai/bin/liblimboai.ios.template_release.arm64.dylib" -ios.debug = "res://addons/limboai/bin/liblimboai.ios.template_debug.arm64.dylib" +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"