Skip to content

Commit d3441cd

Browse files
committed
Update CI
1 parent cb06f67 commit d3441cd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
iOS:
13+
ios:
1414
runs-on: macos-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- name: Build
18-
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild build-for-testing -scheme MapItemPicker -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" | xcpretty
16+
- uses: actions/checkout@v4
17+
- name: Setup Xcode 16
18+
uses: maxim-lobanov/setup-xcode@v1
19+
with:
20+
xcode-version: 16
21+
- name: Build (iOS)
22+
run: xcodebuild build -scheme $PACKAGE -sdk iphoneos -destination 'generic/platform=iOS,name=iPhone 15'
23+
- name: Test (iOS)
24+
run: xcodebuild test -scheme $PACKAGE -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15'

0 commit comments

Comments
 (0)