Skip to content

Commit f2a9907

Browse files
authored
Update ci.yml
1 parent 9a4d2f8 commit f2a9907

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: iOS CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-test:
13+
runs-on: macos-latest
14+
15+
steps:
16+
- name: Checkout source code
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Xcode
20+
run: sudo xcode-select -s /Applications/Xcode.app
21+
22+
- name: Build and run tests
23+
run: |
24+
xcodebuild clean test \
25+
-project LetsEatingTime_iOS.xcodeproj \
26+
-scheme LetsEatingTime_iOSUITests \
27+
-sdk iphonesimulator \
28+
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5' \
29+
ONLY_ACTIVE_ARCH=YES

0 commit comments

Comments
 (0)