-
Notifications
You must be signed in to change notification settings - Fork 25
97 lines (73 loc) · 2.22 KB
/
test_apps.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: Test Apps
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/TestApp/Gemfile
jobs:
build-testapp-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare Android
uses: ./.github/actions/prepare-android
- name: Bundle TestApp JS for Android
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android)
- name: Build TestApp for Android
run: |
yarn run build:android
build-testapp-newarch-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare Android
uses: ./.github/actions/prepare-android
- name: Bundle TestApp JS for Android
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android)
- name: Build TestApp for Android
run: |
ORG_GRADLE_PROJECT_newArchEnabled=true yarn run build:android
build-testapp-ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare iOS
uses: ./.github/actions/prepare-ios
- name: Install TestApp cocoapods
run: |
(cd TestApp/ios;bundle exec pod install)
- name: Bundle TestApp JS for iOS
run: (cd TestApp;yarn bundle:ios)
- name: Build TestApp for iOS
run: |
yarn run build:ios
build-testapp-newarch-ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare iOS
uses: ./.github/actions/prepare-ios
- name: Install TestApp cocoapods
run: |
(cd TestApp/ios;rm Podfile.lock;RCT_NEW_ARCH_ENABLED=1 bundle exec pod install)
- name: Bundle TestApp JS for iOS
run: (cd TestApp;yarn bundle:ios)
- name: Build TestApp for iOS
run: |
yarn run build:ios