ios_builds.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. concurrency:
  10. group: ci-${{ github.actor }}-${{ github.head_ref || github.run_number }}-${{ github.ref }}-ios
  11. cancel-in-progress: true
  12. jobs:
  13. ios-template:
  14. runs-on: macos-latest
  15. name: Template (target=template_release)
  16. steps:
  17. - name: Checkout
  18. uses: actions/checkout@v4
  19. with:
  20. submodules: recursive
  21. - name: Restore Godot build cache
  22. uses: ./.github/actions/godot-cache-restore
  23. continue-on-error: true
  24. - name: Setup Python and SCons
  25. uses: ./.github/actions/godot-deps
  26. - name: Compilation (arm64)
  27. uses: ./.github/actions/godot-build
  28. with:
  29. sconsflags: ${{ env.SCONSFLAGS }}
  30. platform: ios
  31. target: template_release
  32. tests: false
  33. - name: Save Godot build cache
  34. uses: ./.github/actions/godot-cache-save
  35. continue-on-error: true
  36. - name: Upload artifact
  37. uses: ./.github/actions/upload-artifact