Skip to content

Commit d9584bb

Browse files
authored
Add iOS CI workflow configuration
Set up a CI workflow for iOS builds using GitHub Actions.
1 parent c4c3e2b commit d9584bb

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/ios.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
name: iOS CI
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: macos-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Select Xcode version
20+
uses: maxim-lobanov/setup-xcode@v1
21+
with:
22+
xcode-version: latest-stable
23+
24+
- name: Show Xcode version
25+
run: xcodebuild -version
26+
27+
- name: Build project
28+
run: |
29+
xcodebuild \
30+
-project SocialNetworkingApp.xcodeproj \
31+
-scheme SocialNetworkingApp \
32+
-sdk iphonesimulator \
33+
-destination 'platform=iOS Simulator,name=iPhone 16' \
34+
build
35+
36+
# - name: Run tests
37+
# run: |
38+
# xcodebuild \
39+
# test \
40+
# -project Chess.xcodeproj \
41+
# -scheme Chess \
42+
# -destination 'platform=iOS Simulator,name=iPhone 16'

0 commit comments

Comments
 (0)