[Android] CI: Reuse the same certificate for all builds

Hugo Beauzée-Luyssen git at videolan.org
Tue Nov 3 15:47:09 CET 2020


vlc-android | branch: 3.3.x | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 26 15:46:26 2020 +0100| [9df641353e36c22f9a9a1e8c7a342dde05fec38f] | committer: Nicolas Pomepuy

CI: Reuse the same certificate for all builds

(cherry picked from commit 366df4a80308027009d6961ea58687e1333b1c0b)

> https://code.videolan.org/videolan/vlc-android/commit/9df641353e36c22f9a9a1e8c7a342dde05fec38f
---

 buildsystem/gitlab/.gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 8160d296f..089d6fa63 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -14,6 +14,8 @@ cache:
         - docker
     stage: build
     script:
+        - mkdir -p ~/.android
+        - if [ -n "$KEYSTORE_FILE_BASE64" ]; then base64 -d $KEYSTORE_FILE_BASE64 > ~/.android/debug.keystore; fi
         - ./buildsystem/compile.sh ${EXTRA_BUILD_PARAM} -a ${ARCH}
     variables:
         MAKEFLAGS: -j8



More information about the Android mailing list