aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorMartin/Geno <geno+dev@fireorbit.de>2018-11-08 22:53:06 +0100
committerMartin/Geno <geno+dev@fireorbit.de>2018-11-09 00:19:17 +0100
commit5eb53bcf1d456f9199397eaf00651c5a17edae45 (patch)
tree252166bff5a2d845132fbb90f7668cdabc39615f /.circleci
parenta59518ced9ef11b5b0fc0f8ee5926c1966a0ee23 (diff)
add circleci support
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 000000000..6b9f76d3e
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,21 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: registry.gitlab.com/fdroid/ci-images-client:latest
+ steps:
+ - checkout
+ - restore_cache:
+ key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
+ - run: export GRADLE_USER_HOME=$PWD/.gradle
+ - run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
+ - run: ./gradlew assembleStandard
+ - store_artifacts:
+ path: build/outputs/apk/standard
+ destination: apk
+
+workflows:
+ version: 2
+ build_only:
+ jobs:
+ - build