summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-11-14 18:07:19 +0100
committercyBerta <cyberta@riseup.net>2017-11-14 18:07:19 +0100
commitdd6046133dcc07912ec1ffe5a1ff85a8f45a5e2f (patch)
tree3b9f4f91f8cb8fc25afab68d08233c782ec91038 /.gitlab-ci.yml
parenta19638c3e334454c23dbc93bb7945f6d2ace00de (diff)
8743 add manual trigger to build releases from CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5819f343..4db92eb7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,3 +60,17 @@ build:
artifacts:
paths:
- app/build/outputs/
+
+build_release:
+ image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
+ stage: build
+ script:
+ - git submodule sync --recursive
+ - git submodule update --init --recursive
+ - ./gradlew clean
+ - ./gradlew assembleProductionRelease
+ - ./gradlew assembleProductionBeta
+ artifacts:
+ paths:
+ - app/build/outputs/
+ when: manual \ No newline at end of file