summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-05 14:07:39 +0100
committercyBerta <cyberta@riseup.net>2018-02-05 20:42:02 +0100
commit49c3d78764d2fdbc0e58bce62a2ea8439e89d7e7 (patch)
tree1ef880d601b67a77e41d141c04c310c84f5d22d7 /.gitlab-ci.yml
parent33cae95b08c46ebbdf7e1b3e83b51c53c7fcf099 (diff)
8832 custom build script that builds first :ics-openvpn:main and afterwards :app
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b3b7de0a..ff5f559c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,9 +97,8 @@ build:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - git submodule sync --recursive
- - git submodule update --init --recursive
- - ./gradlew clean assembleDebug
+ - ./cleanProject.sh
+ - ./build.sh
artifacts:
paths:
- app/build/outputs/
@@ -108,9 +107,10 @@ 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
+ - ./cleanProject.sh
+ - cd ./ics-openvpn
+ - ./gradlew clean main:externalNativeBuildCleanNoovpn3Release main:externalNativeBuildNoovpn3Release
+ - cd ..
- ./gradlew assembleProductionRelease
- ./gradlew assembleProductionBeta
artifacts: