-
Notifications
You must be signed in to change notification settings - Fork 26
43 lines (37 loc) · 1.06 KB
/
build_ios_app.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
name: iOS
on: [push, pull_request]
env:
SKIP_PREFLIGHT_CHECK: true
# https://github.com/uiwjs/react-native-uiw/issues/156
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.5
bundler-cache: true
- run: yarn install
- run: npm run build
- run: xcode-select -p
- run: bundle install
working-directory: example/examples
- run: bundle exec pod install
working-directory: example/examples/ios
# - name: Build iOS (debug)
# working-directory: example/examples
# run: |
# pwd
# xcodebuild \
# -workspace $PWD/ios/examples.xcworkspace \
# -scheme examples \
# clean archive \
# -sdk iphoneos \
# -configuration Debug \
# -UseModernBuildSystem=NO \
# -archivePath $PWD/examples \
# CODE_SIGNING_ALLOWED=NO