2022-03-15 13:29:32 +01:00
|
|
|
name: 🍏 iOS Builds
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
# Global Settings
|
2022-03-16 11:10:14 +01:00
|
|
|
# disable werrors for now
|
|
|
|
# werror=yes
|
2022-03-15 13:29:32 +01:00
|
|
|
env:
|
|
|
|
GODOT_BASE_BRANCH: 3.x
|
2022-03-16 11:10:14 +01:00
|
|
|
SCONSFLAGS: verbose=yes warnings=all debug_symbols=no
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-ios
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ios-template:
|
|
|
|
runs-on: "macos-latest"
|
|
|
|
name: Template (target=release, tools=no)
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Godot build cache
|
|
|
|
uses: ./.github/actions/godot-cache
|
|
|
|
continue-on-error: true
|
|
|
|
|
|
|
|
- name: Setup python and scons
|
|
|
|
uses: ./.github/actions/godot-deps
|
|
|
|
|
|
|
|
- name: Compilation (armv7)
|
|
|
|
uses: ./.github/actions/godot-build
|
|
|
|
with:
|
|
|
|
sconsflags: ${{ env.SCONSFLAGS }}
|
|
|
|
platform: iphone
|
|
|
|
target: release
|
|
|
|
tools: false
|
|
|
|
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: ./.github/actions/upload-artifact
|