Skip to content

iOS IPA

iOS IPA #141

Workflow file for this run

name: iOS IPA
on:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ios-ipa-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
build:
runs-on: macos-15
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive
- name: Toolchain diagnostics
run: |
sw_vers
uname -a
xcodebuild -version
xcode-select -p
cmake --version
xcrun --sdk iphoneos --find metal
xcrun --sdk iphoneos --find metallib
df -h
- name: Generate Xcode project
run: ./scripts/generate-ios-xcode.sh
- name: List schemes
run: |
xcodebuild \
-project build-ios-xcode/ARMSX2iOS.xcodeproj \
-list
- name: Build unsigned IPA
run: |
./scripts/build-ios-ipa.sh
- name: Inspect unsigned IPA
run: |
IPA_PATH="build-ios-xcode/ARMSX2-iOS-unsigned.ipa"
if [ ! -f "$IPA_PATH" ]; then
echo "Unsigned IPA not produced at $IPA_PATH"
find build-ios-xcode -maxdepth 4 \( -name "*.ipa" -o -name "*.app" \) -print
exit 1
fi
ls -lh "$IPA_PATH"
- name: Upload IPA
uses: actions/upload-artifact@v7
with:
name: ARMSX2-unsigned-ipa
path: build-ios-xcode/ARMSX2-iOS-unsigned.ipa