Summary: I really hope I hit everything and didn't break anything that wasn't referring to branch names. Pull Request resolved: https://github.com/facebook/flipper/pull/2689 Test Plan: _eyes CI |[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30305789/V2/flipper/) Reviewed By: timur-valiev Differential Revision: D30305789 Pulled By: passy fbshipit-source-id: 5daaa09250bb96bb50be679fc01dae86c666eb73
34 lines
935 B
YAML
34 lines
935 B
YAML
version: 2.1
|
|
executors:
|
|
default-executor:
|
|
docker:
|
|
- image: circleci/android:api-29-ndk
|
|
resource_class: large
|
|
|
|
environment:
|
|
_JAVA_OPTIONS: "-Xmx1500m -XX:+UnlockExperimentalVMOptions -XX:+UseContainerSupport -XX:ParallelGCThreads=2 -XX:ConcGCThreads=2 -XX:ParallelGCThreads=2 -Djava.util.concurrent.ForkJoinPool.common.parallelism=2"
|
|
TERM: 'dumb'
|
|
|
|
jobs:
|
|
snapshot:
|
|
executor: default-executor
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: install retry
|
|
command: scripts/install-retry.sh
|
|
- run:
|
|
name: build and deploy
|
|
command: |
|
|
yes | sdkmanager "platforms;android-27" || true
|
|
/tmp/retry -m 3 ./gradlew :android:assembleRelease
|
|
/tmp/retry -m 3 scripts/publish-android-snapshot.sh
|
|
workflows:
|
|
version: 2
|
|
build-and-deploy:
|
|
jobs:
|
|
- snapshot:
|
|
filters:
|
|
branches:
|
|
only: main
|