-
Notifications
You must be signed in to change notification settings - Fork 25
62 lines (47 loc) · 1.28 KB
/
native_tests_and_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
name: Native Tests & Apps
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-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: Run Unit Tests for Android
run: yarn test: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-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 Lib cocoapods
run: |
(cd ios;pod install)
- name: Run Unit Tests for iOS
run: yarn test:ios
- name: Install TestApp cocoapods
run: |
(cd TestApp/ios;pod install)
- name: Bundle TestApp JS for iOS
run: (cd TestApp;yarn bundle:ios)
- name: Build TestApp for iOS
run: |
yarn run build:ios