Compare commits

..

8 Commits

Author SHA1 Message Date
Serhii Snitsaruk 195056f930
Merge 32393d6f64 into 3565d6dc43 2024-07-19 09:17:29 +00: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
1 changed files with 7 additions and 6 deletions

View File

@ -179,6 +179,7 @@ jobs:
platform: ios platform: ios
target: template_release target: template_release
arch: universal arch: universal
scons-flags: ios_simulator=yes
should-build: ${{ !inputs.test-build }} should-build: ${{ !inputs.test-build }}
- name: 🍏 iOS (simulator, debug) - name: 🍏 iOS (simulator, debug)
@ -186,6 +187,7 @@ jobs:
platform: ios platform: ios
target: template_debug target: template_debug
arch: universal arch: universal
scons-flags: ios_simulator=yes
should-build: ${{ !inputs.test-build }} should-build: ${{ !inputs.test-build }}
exclude: exclude:
@ -300,7 +302,7 @@ jobs:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/ SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: | run: |
PATH=${GITHUB_WORKSPACE}/buildroot/bin:$PATH 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 - name: Prepare artifact
shell: bash shell: bash
@ -320,11 +322,10 @@ jobs:
run: | run: |
ls -l -R out/addons/limboai/bin/ ls -l -R out/addons/limboai/bin/
echo "---" echo "---"
if [ "$RUNNER_OS" == "macOS" ]; then if [ "${{matrix.opts.platform}}" == "macos" ]; then
# MacOS libs strip -u out/addons/limboai/bin/liblimboai*/liblimboai*
strip -u out/addons/limboai/bin/liblimboai*/liblimboai* || true elif [ "${{matrix.opts.platform}}" == "ios" ]; then
# iOS libs strip -u out/addons/limboai/bin/liblimboai*
# strip -u out/addons/limboai/bin/liblimboai* || true
else else
strip out/addons/limboai/bin/liblimboai* strip out/addons/limboai/bin/liblimboai*
fi fi