Created
October 7, 2016 01:23
-
-
Save bertrandmartel/e352be4278931e3341a00a2d03e3f714 to your computer and use it in GitHub Desktop.
Circle CI configuration for Android SDK 24 with NDK support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
java: | |
version: oraclejdk8 | |
environment: | |
ANDROID_NDK_HOME: ${ANDROID_NDK} | |
test: | |
override: | |
- ./gradlew clean build connectedCheck | |
post: | |
- mkdir $CIRCLE_ARTIFACTS/apk | |
- mv app/build/outputs/apk/*.apk $CIRCLE_ARTIFACTS/apk | |
dependencies: | |
pre: | |
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | |
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | |
- echo y | android update sdk -u -a -t tools | |
- echo y | android update sdk -u -a -t platform-tools | |
- echo y | android update sdk -u -a -t build-tools-23.0.3 | |
- echo y | android update sdk -u -a -t android-24 | |
- echo y | android update sdk -u -a -t extra-google-m2repository | |
- echo y | android update sdk -u -a -t extra-android-m2repository | |
- git submodule update --init --recursive | |
cache_directories: | |
- ~/.m2 | |
- ~/.gradle | |
general: | |
branches: | |
ignore: | |
- gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment