Skip to content

Commit bf6e4a9

Browse files
Add iOS CI workflow for building project
1 parent 5d27f98 commit bf6e4a9

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: iOS CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Select Xcode version
18+
run: sudo xcode-select -switch /Applications/Xcode.app
19+
20+
- name: Build project
21+
run: |
22+
xcodebuild clean build \
23+
-project "Leaf Lens.xcodeproj" \
24+
-scheme "Leaf Lens" \
25+
-destination 'platform=iOS Simulator,name=iPhone 15'

0 commit comments

Comments
 (0)