Skip to content

Commit abac28b

Browse files
IOS CI workflow (#508)
Add iOS CI/CD workflow: Set up GitHub Actions workflow for the iOS app to verify CocoaPods compatibility and build configuration. Configures Xcode 15.4, Swift 5.0, and iOS 18.5 simulator, with dynamic build destination resolution via xcodebuild device list. Updates Podfile and iPhone deployment target for toolchain compatibility.
1 parent 2b5d992 commit abac28b

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/cocoapod.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow builds and tests the iOS app with CocoaPods and Xcode
2+
# For more information see: https://docs.github.com/actions/guides/building-and-testing-swift
3+
4+
name: IOS CI with cocoapods
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
paths:
10+
- 'ios/OpenBot/**'
11+
- '.github/workflows/cocoapod.yml'
12+
pull_request:
13+
branches: [ master ]
14+
paths:
15+
- 'ios/OpenBot/**'
16+
- '.github/workflows/cocoapod.yml'
17+
18+
jobs:
19+
build:
20+
runs-on: macos-15
21+
22+
defaults:
23+
run:
24+
working-directory: ios/OpenBot
25+
26+
steps:
27+
- name: Checkout Repository
28+
uses: actions/checkout@v4
29+
30+
- name: Install CocoaPods
31+
run: sudo gem install cocoapods
32+
33+
- name: Remove Podfile.lock (regenerate)
34+
run: rm -f Podfile.lock
35+
36+
- name: Pod install
37+
run: pod install

0 commit comments

Comments
 (0)