From 7f38fe2b8bce276bbcd3eae0686c07e1b0fd09e4 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Thu, 18 Jul 2024 21:19:26 +0200 Subject: [PATCH] GHA: Change iOS arch to arm64 & build simulator libs --- .github/workflows/gdextension.yml | 18 ++++++++++++++++-- gdextension/limboai.gdextension | 6 ++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gdextension.yml b/.github/workflows/gdextension.yml index 275a8bd..b11be03 100644 --- a/.github/workflows/gdextension.yml +++ b/.github/workflows/gdextension.yml @@ -168,14 +168,28 @@ jobs: arch: x86_32 should-build: ${{ !inputs.test-build }} - - name: 🍏 iOS (universal, release) + - 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 should-build: ${{ !inputs.test-build }} - - name: 🍏 iOS (universal, debug) + - name: 🍏 iOS (simulator, debug) runner: macos-latest platform: ios target: template_debug diff --git a/gdextension/limboai.gdextension b/gdextension/limboai.gdextension index 51149b5..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.universal.dylib" -ios.debug = "res://addons/limboai/bin/liblimboai.ios.template_debug.universal.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"