Summary: According to [this](https://circleci.com/docs/2.0/configuration-reference/#checkout), using the checkout step uses SSH but we're fine with HTTPS. Pull Request resolved: https://github.com/facebook/flipper/pull/3519 Reviewed By: lblasa Differential Revision: D34818577 Pulled By: passy fbshipit-source-id: 1f34ab1d183081125607e6d2020bc7a1c7c34685
33 lines
918 B
YAML
33 lines
918 B
YAML
version: 2.1
|
|
executors:
|
|
default-executor:
|
|
docker:
|
|
- image: circleci/android:api-30-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:
|
|
- 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
|