Skip to content

Commit f134613

Browse files
committed
Update CI
1 parent cb06f67 commit f134613

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

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

12+
env:
13+
PACKAGE: MapItemPicker
14+
1215
jobs:
13-
iOS:
16+
ios:
1417
runs-on: macos-latest
1518
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
19+
- uses: actions/checkout@v4
20+
- name: Setup Xcode 16
21+
uses: maxim-lobanov/setup-xcode@v1
22+
with:
23+
xcode-version: 16
24+
- name: Build (iOS)
25+
run: xcodebuild build -scheme $PACKAGE -sdk iphoneos -destination 'generic/platform=iOS,name=iPhone 15'
26+
- name: Test (iOS)
27+
run: xcodebuild test -scheme $PACKAGE -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15'

0 commit comments

Comments
 (0)