Build system with RNTA for RN 0.73+ #1741
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.71', '0.73'] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2.3.3 | |
- name: Setup CMake | |
uses: jwlawson/actions-setup-cmake@v1.8 | |
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 }} | |