summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-03-30 14:47:14 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-04-03 10:54:47 +0200
commit74ff4354623a644eb3c293ec818cebbf9c45077c (patch)
tree58d6f35ba0b8ea7a843889f5bfc9697637d27b04
parentb2570b909b6cbf408bd9779656fd6a397d08dcec (diff)
downloadqtlocation-mapboxgl-74ff4354623a644eb3c293ec818cebbf9c45077c.tar.gz
[build] Add Android Release build on Circle CI
-rw-r--r--circle.yml84
1 files changed, 84 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 0000000000..41433345a9
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,84 @@
+version: 2
+
+jobs:
+
+# ------------------------------------------------------------------------------
+ build:
+ docker:
+ - image: mbgl/ci:trigger_job
+ working_directory: /
+ steps:
+ - deploy:
+ name: Trigger 'android-debug-arm-v7'
+ command: trigger_job android-debug-arm-v7
+ - deploy:
+ name: Trigger 'android-release-all'
+ command: trigger_job android-release-all
+
+# ------------------------------------------------------------------------------
+ android-debug-arm-v7:
+ docker:
+ - image: mbgl/android-ci:ndk-r13b
+ working_directory: /src
+ environment:
+ LD_PRELOAD: /usr/lib/libsysconfcpus.so
+ LIBSYSCONFCPUS: 8
+ JOBS: 8
+ BUILDTYPE: Debug
+ steps:
+ - checkout
+ - run:
+ name: Build libmapbox-gl.so for arm-v7
+ command: make android-lib-arm-v7
+ - run:
+ name: Compile Core tests for arm-v7
+ command: make android-test-lib-arm-v7
+ - run:
+ name: Test phone module
+ command: make run-android-unit-test
+ - run:
+ name: Test wear module
+ command: make run-android-wear-unit-test
+ - run:
+ name: Generate Espresso sanity tests
+ command: make test-code-android
+ - run:
+ name: Check Java code style
+ command: make android-checkstyle
+
+# ------------------------------------------------------------------------------
+ android-release-all:
+ docker:
+ - image: mbgl/android-ci:ndk-r13b
+ working_directory: /src
+ environment:
+ LD_PRELOAD: /usr/lib/libsysconfcpus.so
+ LIBSYSCONFCPUS: 8
+ JOBS: 8
+ BUILDTYPE: Release
+ steps:
+ - checkout
+ - run:
+ name: Build libmapbox-gl.so for arm-v7
+ command: make android-lib-arm-v7
+ - run:
+ name: Build libmapbox-gl.so for arm-v8
+ command: make android-lib-arm-v8
+ - run:
+ name: Build libmapbox-gl.so for arm-v5
+ command: make android-lib-arm-v5
+ - run:
+ name: Build libmapbox-gl.so for mips
+ command: make android-lib-mips
+ - run:
+ name: Build libmapbox-gl.so for x86
+ command: make android-lib-x86
+ - run:
+ name: Build libmapbox-gl.so for x86-64
+ command: make android-lib-x86-64
+ - run:
+ name: Build package
+ command: make apackage
+ - run:
+ name: Show statistics
+ command: platform/android/scripts/metrics.sh