Skip to content

Commit

Permalink
limit ndk jobs for RNTester on CI (#19755)
Browse files Browse the repository at this point in the history
Summary:
Limit number of NDK jobs of ReactAndroid on CI using $BUILD_THREADS environment variable. Otherwise, it was spawning 32 jobs while building RNTester, which caused in OOM or unexpected failure.

CI: https://circleci.com/gh/dulmandakh/react-native/387

Android CI is green again 😍
Closes #19755

Differential Revision: D8466069

Pulled By: hramos

fbshipit-source-id: fd507d12c8e93f718e047719daa68aa25c37bfb2
  • Loading branch information
dulmandakh authored and facebook-github-bot committed Jun 16, 2018
1 parent 045688b commit 9e4a432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ jobs:
- run:
name: Build Android RNTester
command: |
./gradlew RNTester:android:app:assembleRelease
./gradlew RNTester:android:app:assembleRelease -Pjobs=$BUILD_THREADS
# Collect Results
- run: *collect-android-test-results
Expand Down

0 comments on commit 9e4a432

Please sign in to comment.