-
-
Notifications
You must be signed in to change notification settings - Fork 111
39 lines (35 loc) · 856 Bytes
/
ios.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
name: iOS
on:
push:
branches:
- master
- fix-ci
pull_request:
paths:
- '.github/workflows/ios.yml'
- 'src/**'
- 'ios/**'
- 'MMKV/**'
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: npm ci --legacy-peer-deps
- run: npm run build
- run: yarn
working-directory: example
- run: xcode-select -p
- run: pod install
working-directory: example/ios
name: Install pod dependencies
- name: Build iOS (debug)
working-directory: example/ios
run: "xcodebuild \
-workspace example.xcworkspace \
-scheme example \
clean archive \
-sdk iphonesimulator \
-configuration Debug \
-UseModernBuildSystem=YES \
CODE_SIGNING_ALLOWED=NO"