| 1 |
name: 🍏 iOS Builds |
| 2 |
on: |
| 3 |
workflow_call: |
| 4 |
workflow_dispatch: |
| 5 |
|
| 6 |
|
| 7 |
env: |
| 8 |
SCONS_FLAGS: >- |
| 9 |
dev_mode=yes |
| 10 |
module_text_server_fb_enabled=yes |
| 11 |
tests=no |
| 12 |
debug_symbols=no |
| 13 |
|
| 14 |
jobs: |
| 15 |
ios-template: |
| 16 |
|
| 17 |
runs-on: macos-latest |
| 18 |
name: Template (target=template_release) |
| 19 |
timeout-minutes: 60 |
| 20 |
|
| 21 |
steps: |
| 22 |
- name: Checkout |
| 23 |
uses: actions/checkout@v6 |
| 24 |
with: |
| 25 |
submodules: recursive |
| 26 |
|
| 27 |
|
| 28 |
- name: Select Xcode 26 |
| 29 |
run: sudo xcode-select -s /Applications/Xcode_26.0.1.app |
| 30 |
|
| 31 |
- name: Restore Godot build cache |
| 32 |
uses: ./.github/actions/godot-cache-restore |
| 33 |
continue-on-error: true |
| 34 |
|
| 35 |
- name: Setup Python and SCons |
| 36 |
uses: ./.github/actions/godot-deps |
| 37 |
|
| 38 |
- name: Compilation (arm64) |
| 39 |
uses: ./.github/actions/godot-build |
| 40 |
with: |
| 41 |
scons-flags: ${{ env.SCONS_FLAGS }} |
| 42 |
platform: ios |
| 43 |
target: template_release |
| 44 |
|
| 45 |
- name: Save Godot build cache |
| 46 |
uses: ./.github/actions/godot-cache-save |
| 47 |
continue-on-error: true |
| 48 |
|
| 49 |
- name: Upload artifact |
| 50 |
uses: ./.github/actions/upload-artifact |