Update config.yml
This commit is contained in:
parent
fe3ef227c3
commit
3fcf28827f
|
@ -100,10 +100,19 @@ jobs:
|
||||||
path: /tmp/screenshots
|
path: /tmp/screenshots
|
||||||
|
|
||||||
android-play-build:
|
android-play-build:
|
||||||
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/android:api-28-node
|
- image: circleci/android:api-28-node
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GRADLE_OPTS: -Xmx1536m -XX:+HeapDumpOnOutOfMemoryError -Dorg.gradle.caching=true -Dorg.gradle.configureondemand=true -Dkotlin.compiler.execution.strategy=in-process -Dkotlin.incremental=false
|
# GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError"
|
||||||
|
# GRADLE_OPTS: -Xmx2048m -Dorg.gradle.daemon=false
|
||||||
|
# JVM_OPTS: -Xmx4096m
|
||||||
|
JAVA_OPTS: '-Xms512m -Xmx2g'
|
||||||
|
GRADLE_OPTS: '-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx2g -XX:+HeapDumpOnOutOfMemoryError"'
|
||||||
|
TERM: dumb
|
||||||
|
BASH_ENV: "~/.nvm/nvm.sh"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
@ -132,6 +141,10 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
|
- restore_cache:
|
||||||
|
name: Restore gradle cache
|
||||||
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: restore files from ENV
|
name: restore files from ENV
|
||||||
command: |
|
command: |
|
||||||
|
@ -145,7 +158,6 @@ jobs:
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: android/app/build/outputs/bundle
|
path: android/app/build/outputs/bundle
|
||||||
destination: bundle
|
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: Save NPM cache
|
name: Save NPM cache
|
||||||
|
@ -153,6 +165,12 @@ jobs:
|
||||||
paths:
|
paths:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
|
|
||||||
|
- save_cache:
|
||||||
|
name: Save gradle cache
|
||||||
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
||||||
|
paths:
|
||||||
|
- ~/.gradle
|
||||||
|
|
||||||
android-play-experimental-build:
|
android-play-experimental-build:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
docker:
|
docker:
|
||||||
|
|
Loading…
Reference in New Issue