GH: Fix iOS simulator build
This commit is contained in:
parent
2cbd61f518
commit
fb5a1c5208
|
@ -61,15 +61,17 @@ jobs:
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
ios_simulator: true
|
ios_simulator: true
|
||||||
|
|
||||||
- name: Simulator Lib (arm64, release)
|
# ! Disabled for now as it doesn't work with cctools-port and current LLVM.
|
||||||
target: template_release
|
# * See https://github.com/godotengine/build-containers/pull/85.
|
||||||
arch: arm64
|
# - name: Simulator Lib (arm64, release)
|
||||||
ios_simulator: true
|
# target: template_release
|
||||||
|
# arch: arm64
|
||||||
|
# ios_simulator: true
|
||||||
|
|
||||||
- name: Simulator Lib (arm64, debug)
|
# - name: Simulator Lib (arm64, debug)
|
||||||
target: template_debug
|
# target: template_debug
|
||||||
arch: arm64
|
# arch: arm64
|
||||||
ios_simulator: true
|
# ios_simulator: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BIN: godot.ios.${{matrix.target}}.${{matrix.arch}}
|
BIN: godot.ios.${{matrix.target}}.${{matrix.arch}}
|
||||||
|
@ -163,10 +165,12 @@ jobs:
|
||||||
strip *.a
|
strip *.a
|
||||||
|
|
||||||
mv libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
|
mv libgodot.ios.template_debug.arm64.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64/libgodot.a
|
||||||
lipo -create libgodot.ios.template_debug.arm64.simulator.a libgodot.ios.template_debug.x86_64.simulator.a -output ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
# ! lipo -create libgodot.ios.template_debug.arm64.simulator.a libgodot.ios.template_debug.x86_64.simulator.a -output ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||||
|
mv libgodot.ios.template_debug.x86_64.simulator.a ios_xcode/libgodot.ios.debug.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||||
|
|
||||||
mv libgodot.ios.template_release.arm64.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64/libgodot.a
|
mv libgodot.ios.template_release.arm64.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64/libgodot.a
|
||||||
lipo -create libgodot.ios.template_release.arm64.simulator.a libgodot.ios.template_release.x86_64.simulator.a -output ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
# ! lipo -create libgodot.ios.template_release.arm64.simulator.a libgodot.ios.template_release.x86_64.simulator.a -output ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||||
|
mv libgodot.ios.template_release.x86_64.simulator.a ios_xcode/libgodot.ios.release.xcframework/ios-arm64_x86_64-simulator/libgodot.a
|
||||||
|
|
||||||
cp -r ~/VulkanSDK/*/MoltenVK/MoltenVK.xcframework ios_xcode
|
cp -r ~/VulkanSDK/*/MoltenVK/MoltenVK.xcframework ios_xcode
|
||||||
rm -rf ios_xcode/MoltenVK.xcframework/{macos,tvos}*
|
rm -rf ios_xcode/MoltenVK.xcframework/{macos,tvos}*
|
||||||
|
|
Loading…
Reference in New Issue