forked from ARMSX2/ARMSX2
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (54 loc) · 1.45 KB
/
Copy pathios-ipa.yml
File metadata and controls
66 lines (54 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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