Improve Circle CI automatic builds
Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
This commit is contained in:
parent
23d4715ff1
commit
6fec8edfb6
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- image: circleci/android:api-27-alpha
|
- image: circleci/android:api-27-alpha
|
||||||
working_directory: ~/ultrasonic
|
working_directory: ~/ultrasonic
|
||||||
envoronment:
|
envoronment:
|
||||||
JVM_OPTS: -Xmx3200m
|
JAVA_TOOL_OPTIONS: "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap"
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
root: /tmp/ultrasonic-release
|
root: /tmp/ultrasonic-release
|
||||||
paths:
|
paths:
|
||||||
- ultrasonic-*.apk
|
- ultrasonic-*.apk
|
||||||
publish_signed_apk:
|
publish_github_signed_apk:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang
|
- image: circleci/golang
|
||||||
steps:
|
steps:
|
||||||
|
@ -98,7 +98,7 @@ jobs:
|
||||||
name: install ghr
|
name: install ghr
|
||||||
command: go get -v github.com/tcnksm/ghr
|
command: go get -v github.com/tcnksm/ghr
|
||||||
- run:
|
- run:
|
||||||
name: publish release on tag
|
name: publish release on github tag
|
||||||
command: ghr -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_TAG} /tmp/ultrasonic-release
|
command: ghr -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_TAG} /tmp/ultrasonic-release
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
@ -119,7 +119,7 @@ workflows:
|
||||||
only: /^[0-9]+(\.[0-9]+)*/
|
only: /^[0-9]+(\.[0-9]+)*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
- publish_signed_apk:
|
- publish_github_signed_apk:
|
||||||
requires:
|
requires:
|
||||||
- generate_signed_apk
|
- generate_signed_apk
|
||||||
filters:
|
filters:
|
||||||
|
|
Loading…
Reference in New Issue