Skip to content

Commit e27cef5

Browse files
committed
Restore iOS buildtest IPA workflow
1 parent be3d60b commit e27cef5

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

.github/workflows/ios-buildtest-ipa.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ defaults:
1717
run:
1818
shell: bash
1919

20-
env:
21-
IPA_NAME: ARMSX2-iOS-${{ github.sha }}-unsigned.ipa
22-
2320
jobs:
2421
build:
2522
name: Build unsigned iOS IPA
@@ -35,23 +32,35 @@ jobs:
3532
- name: Toolchain diagnostics
3633
run: |
3734
sw_vers
35+
uname -a
3836
xcodebuild -version
3937
xcode-select -p
4038
cmake --version
4139
xcrun --sdk iphoneos --find metal
4240
xcrun --sdk iphoneos --find metallib
41+
df -h
4342
4443
- name: Verify submodules
4544
run: |
4645
git submodule status --recursive
4746
47+
- name: Generate Xcode project
48+
run: |
49+
./scripts/generate-ios-xcode.sh
50+
51+
- name: List Xcode schemes
52+
run: |
53+
xcodebuild \
54+
-project build-ios-xcode/ARMSX2iOS.xcodeproj \
55+
-list
56+
4857
- name: Build unsigned IPA
4958
run: |
50-
IPA_NAME="$IPA_NAME" ./scripts/build-ios-ipa.sh
59+
./scripts/build-ios-ipa.sh
5160
5261
- name: Inspect unsigned IPA
5362
run: |
54-
IPA_PATH="build-ios-xcode/$IPA_NAME"
63+
IPA_PATH="build-ios-xcode/ARMSX2-iOS-unsigned.ipa"
5564
if [ ! -f "$IPA_PATH" ]; then
5665
echo "Unsigned IPA not produced at $IPA_PATH"
5766
find build-ios-xcode -maxdepth 5 \( -name "*.ipa" -o -name "*.app" \) -print
@@ -62,5 +71,5 @@ jobs:
6271
- name: Upload unsigned IPA
6372
uses: actions/upload-artifact@v5
6473
with:
65-
name: ${{ env.IPA_NAME }}
66-
path: build-ios-xcode/${{ env.IPA_NAME }}
74+
name: ARMSX2-iOS-buildtest-unsigned-ipa
75+
path: build-ios-xcode/ARMSX2-iOS-unsigned.ipa

0 commit comments

Comments
 (0)