Added Android gitlab-ci files

This commit is contained in:
Sylvain Berfini 2021-04-20 10:13:50 +02:00
parent b1e016f82d
commit 0c3db77ecb
2 changed files with 63 additions and 0 deletions

View File

@ -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

16
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,16 @@
#################################################
# Base configuration
#################################################
#################################################
# Platforms to test
#################################################
include:
- '.gitlab-ci-files/job-android.yml'
stages:
- build