forked from react-native-webrtc/react-native-webrtc
-
Notifications
You must be signed in to change notification settings - Fork 17
54 lines (47 loc) · 1.32 KB
/
ios_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: iOS CI
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
jobs:
ios-compile:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Cache cocoapods
uses: actions/cache@v3
with:
path: ./examples/GumTestApp/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install node modules
run: npm install
- name: Install example node modules
working-directory: ./examples/GumTestApp/
run: npm install
- name: Pod install
working-directory: ./examples/GumTestApp/ios
run: pod install
- name: Compile iOS Example
working-directory: ./examples/GumTestApp/ios
run: |
set -o pipefail && \
xcodebuild -workspace GumTestApp.xcworkspace/ \
-scheme GumTestApp \
-destination generic/platform=iOS \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_ENTITLEMENTS="" \
CODE_SIGNING_ALLOWED="NO" clean build \
| xcpretty