pandemonium_engine_minimal/.github/workflows/ios_builds.yml
2023-12-14 21:54:22 +01:00

39 lines
1.0 KiB
YAML

name: 🍏 iOS Builds
on: [push, pull_request]
# Global Settings
# werror=yes -> TODO move from sprintf() to snprintf() due to deprecation, so this can be re-enabled.
env:
PANDEMONIUM_BASE_BRANCH: master
SCONSFLAGS: verbose=yes warnings=all debug_symbols=no
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@v3
- name: Setup Pandemonium build cache
uses: ./.github/actions/pandemonium-cache
continue-on-error: true
- name: Setup python and scons
uses: ./.github/actions/pandemonium-deps
- name: Compilation (arm64v8)
uses: ./.github/actions/pandemonium-build
with:
sconsflags: ${{ env.SCONSFLAGS }}
platform: iphone
target: release
tools: false
- name: Upload artifact
uses: ./.github/actions/upload-artifact