You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
name: 🍏 iOS Builds
|
|
on:
|
|
workflow_call:
|
|
|
|
# Global Settings
|
|
env:
|
|
SCONS_FLAGS: >-
|
|
dev_mode=yes
|
|
module_text_server_fb_enabled=yes
|
|
tests=no
|
|
debug_symbols=no
|
|
|
|
jobs:
|
|
ios-template:
|
|
# From https://docs.github.com/en/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job#choosing-github-hosted-runners
|
|
runs-on: macos-latest
|
|
name: Template (target=template_release)
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
# From https://github.com/actions/runner-images/blob/main/images/macos
|
|
- name: Select Xcode 26
|
|
run: sudo xcode-select -s /Applications/Xcode_26.0.1.app
|
|
|
|
- name: Restore Godot build cache
|
|
uses: ./.github/actions/godot-cache-restore
|
|
continue-on-error: true
|
|
|
|
- name: Setup Python and SCons
|
|
uses: ./.github/actions/godot-deps
|
|
|
|
- name: Compilation (arm64)
|
|
uses: ./.github/actions/godot-build
|
|
with:
|
|
scons-flags: ${{ env.SCONS_FLAGS }}
|
|
platform: ios
|
|
target: template_release
|
|
|
|
- name: Save Godot build cache
|
|
uses: ./.github/actions/godot-cache-save
|
|
continue-on-error: true
|
|
|
|
- name: Upload artifact
|
|
uses: ./.github/actions/upload-artifact
|