ios_builds.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. name: 🍏 iOS Builds
  2. on:
  3. workflow_call:
  4. # Global Settings
  5. env:
  6. # Used for the cache key. Add version suffix to force clean build.
  7. GODOT_BASE_BRANCH: master
  8. SCONSFLAGS: verbose=yes warnings=extra werror=yes debug_symbols=no module_text_server_fb_enabled=yes strict_checks=yes
  9. jobs:
  10. ios-template:
  11. runs-on: macos-latest
  12. name: Template (target=template_release)
  13. timeout-minutes: 60
  14. steps:
  15. - name: Checkout
  16. uses: actions/checkout@v4
  17. with:
  18. submodules: recursive
  19. - name: Restore Godot build cache
  20. uses: ./.github/actions/godot-cache-restore
  21. continue-on-error: true
  22. - name: Setup Python and SCons
  23. uses: ./.github/actions/godot-deps
  24. - name: Compilation (arm64)
  25. uses: ./.github/actions/godot-build
  26. with:
  27. sconsflags: ${{ env.SCONSFLAGS }}
  28. platform: ios
  29. target: template_release
  30. tests: false
  31. scons-cache-limit: 1
  32. - name: Save Godot build cache
  33. uses: ./.github/actions/godot-cache-save
  34. continue-on-error: true
  35. - name: Upload artifact
  36. uses: ./.github/actions/upload-artifact