-
Notifications
You must be signed in to change notification settings - Fork 60
52 lines (48 loc) · 1.46 KB
/
pr.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
name: PR Build
on:
pull_request:
branches:
- master
env:
BRN_Version: '0.64'
jobs:
build-android-rnta:
runs-on: macos-latest
strategy:
matrix:
platform: [ios, android]
react-native-version: ['0.69', '0.70', '0.71']
steps:
- name: Checkout Repo
uses: actions/[email protected]
- name: Setup CMake
uses: jwlawson/[email protected]
with:
cmake-version: '3.26.3'
- name: Setup Ninja
run: brew install ninja
- name: Setup Watchman
run: brew install watchman
- name: Set React-Native version ${{ matrix.react-native-version }}
run: npm run set-react-version -- ${{ matrix.react-native-version }}
working-directory: ./Apps/BRNPlayground
- name: NPM Install (BRNPlayground)
run: npm install
working-directory: ./Apps/BRNPlayground
- name: Build Bundle
run: npm run build:${{ matrix.platform }}
working-directory: ./Apps/BRNPlayground
- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
- name: Gulp ${{ matrix.platform }}
run: npx gulp build${{ matrix.platform }}RNTA
working-directory: ./Package
env:
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}