Skip to content

Commit

Permalink
Merge pull request facebook#1247 from rasaha91/split-rn-tester
Browse files Browse the repository at this point in the history
Split rn-tester build into debug and release
  • Loading branch information
rasaha91 authored Jul 11, 2022
2 parents 8f6e530 + 1d8bad9 commit 46d79ca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .ado/android-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,16 @@ jobs:
inputs:
script: REACT_NATIVE_BOOST_PATH=$(System.DefaultWorkingDirectory)/build_deps ./gradlew installArchives -Pparam="excludeLibs"

# We have separate tasks to build rn-tester for debug and release due to a regression upstream. See https://github.com/facebook/react-native/issues/34168.
- task: CmdLine@2
displayName: Build rn-tester
displayName: Build rn-tester debug
inputs:
script: REACT_NATIVE_BOOST_PATH=$(System.DefaultWorkingDirectory)/build_deps ./gradlew :packages:rn-tester:android:app:assemble
script: REACT_NATIVE_BOOST_PATH=$(System.DefaultWorkingDirectory)/build_deps ./gradlew :packages:rn-tester:android:app:assembleDebug

- task: CmdLine@2
displayName: Build rn-tester release
inputs:
script: REACT_NATIVE_BOOST_PATH=$(System.DefaultWorkingDirectory)/build_deps ./gradlew :packages:rn-tester:android:app:assembleRelease

- template: templates/prep-android-nuget.yml

Expand Down

0 comments on commit 46d79ca

Please sign in to comment.