Skip to content

Commit d450164

Browse files
committed
chore: adds test workflow to verify xc version upgrade
1 parent ffd55a7 commit d450164

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: iOS SDK Verify
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
verify-ios-sdk:
7+
defaults:
8+
run:
9+
working-directory: packages/mobile
10+
runs-on: macos-15
11+
timeout-minutes: 90
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Select Xcode 26
17+
uses: maxim-lobanov/setup-xcode@v1
18+
with:
19+
xcode-version: "26.0"
20+
21+
- name: Verify Xcode and available iOS SDKs
22+
run: |
23+
xcodebuild -version
24+
xcodebuild -showsdks | rg iphoneos
25+
26+
- name: Install dependencies
27+
run: yarn install --immutable && yarn install:pods
28+
29+
- name: Archive app without signing or upload
30+
run: |
31+
xcodebuild \
32+
-workspace ios/StandardNotes.xcworkspace \
33+
-scheme StandardNotes \
34+
-configuration Release \
35+
-destination "generic/platform=iOS" \
36+
-archivePath build/StandardNotes.xcarchive \
37+
CODE_SIGNING_ALLOWED=NO \
38+
CODE_SIGNING_REQUIRED=NO \
39+
archive
40+
41+
- name: Validate archive SDK metadata
42+
run: |
43+
plutil -p build/StandardNotes.xcarchive/Info.plist | rg DTSDKName
44+
plutil -p build/StandardNotes.xcarchive/Info.plist | rg "iphoneos26\\."

0 commit comments

Comments
 (0)