2022-03-15 13:29:32 +01:00
|
|
|
name: 🍏 iOS Builds
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
# Global Settings
|
2022-10-31 10:52:57 +01:00
|
|
|
# werror=yes -> TODO move from sprintf() to snprintf() due to deprecation, so this can be re-enabled.
|
2022-03-15 13:29:32 +01:00
|
|
|
env:
|
2022-03-20 11:19:29 +01:00
|
|
|
PANDEMONIUM_BASE_BRANCH: master
|
2022-10-31 10:52:57 +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:
|
2023-12-20 22:06:03 +01:00
|
|
|
- uses: actions/checkout@v4
|
2022-03-15 13:29:32 +01:00
|
|
|
|
2022-03-23 20:46:05 +01:00
|
|
|
- name: Setup Pandemonium build cache
|
|
|
|
uses: ./.github/actions/pandemonium-cache
|
2022-03-15 13:29:32 +01:00
|
|
|
continue-on-error: true
|
|
|
|
|
|
|
|
- name: Setup python and scons
|
2022-03-23 20:46:05 +01:00
|
|
|
uses: ./.github/actions/pandemonium-deps
|
2022-03-15 13:29:32 +01:00
|
|
|
|
2022-09-17 09:55:21 +02:00
|
|
|
- name: Compilation (arm64v8)
|
2022-03-23 20:46:05 +01:00
|
|
|
uses: ./.github/actions/pandemonium-build
|
2022-03-15 13:29:32 +01:00
|
|
|
with:
|
|
|
|
sconsflags: ${{ env.SCONSFLAGS }}
|
|
|
|
platform: iphone
|
|
|
|
target: release
|
|
|
|
tools: false
|
|
|
|
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: ./.github/actions/upload-artifact
|