forked from react-native-maps/react-native-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 1016 Bytes
/
iosFrameworksBuild.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
name: iOS frameworks build
on:
pull_request:
jobs:
build-ios-frameworks:
runs-on: macos-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: yarn
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.2'
bundler-cache: true
working-directory: example
- name: Install dependencies
run: yarn --cwd example --frozen-lockfile
- name: Install pods
run: USE_FRAMEWORKS=static RCT_NEW_ARCH_ENABLED=0 NO_FLIPPER=1 bundle exec pod install
working-directory: example/ios
- name: Write Config.xcconfig
run: echo MAPS_API_KEY=your_api_key_here >> example/ios/Config.xcconfig
- name: Build iOS
run: xcodebuild -workspace example/ios/rnmshowcase.xcworkspace -scheme rnmshowcase -configuration Debug -sdk iphonesimulator