-
-
Notifications
You must be signed in to change notification settings - Fork 114
32 lines (28 loc) · 794 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
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: npm ci
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 MmkvStorageExample.xcworkspace -scheme MmkvStorageExample clean archive -sdk iphonesimulator -configuration Debug -UseModernBuildSystem=YES CODE_SIGNING_ALLOWED=NO