From 0c3db77ecbf3aeee3bec1af01d723b579aaf90eb Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 20 Apr 2021 10:13:50 +0200 Subject: [PATCH] Added Android gitlab-ci files --- .gitlab-ci-files/job-android.yml | 47 ++++++++++++++++++++++++++++++++ .gitlab-ci.yml | 16 +++++++++++ 2 files changed, 63 insertions(+) create mode 100644 .gitlab-ci-files/job-android.yml create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci-files/job-android.yml b/.gitlab-ci-files/job-android.yml new file mode 100644 index 0000000..6531a46 --- /dev/null +++ b/.gitlab-ci-files/job-android.yml @@ -0,0 +1,47 @@ +.job-android: + + stage: build + tags: [ "docker-android" ] + image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:30 + +job-android-hello-world: + extends: .job-android + script: + - cd android/kotlin/HelloWorld/ + - ./gradlew assembleRelease + +job-android-account: + extends: .job-android + script: + - cd android/kotlin/AccountLogin/ + - ./gradlew assembleRelease + +job-android-push-notifications: + extends: .job-android + script: + - cd android/kotlin/Pushnotifications/ + - ./gradlew assembleRelease + +job-android-basic-chat: + extends: .job-android + script: + - cd android/kotlin/BasicChat/ + - ./gradlew assembleRelease + +job-android-advanced-chat: + extends: .job-android + script: + - cd android/kotlin/AdvancedChat/ + - ./gradlew assembleRelease + +job-android-incoming-call: + extends: .job-android + script: + - cd android/kotlin/IncomingCall/ + - ./gradlew assembleRelease + +job-android-outgoing-call: + extends: .job-android + script: + - cd android/kotlin/OutgoingCall/ + - ./gradlew assembleRelease \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..73d7ee9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +################################################# +# Base configuration +################################################# + + + +################################################# +# Platforms to test +################################################# + + +include: + - '.gitlab-ci-files/job-android.yml' + +stages: + - build