mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
27 lines
865 B
YAML
27 lines
865 B
YAML
job-android:
|
|
|
|
stage: build
|
|
tags: [ "docker-android" ]
|
|
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:20230414_bullseye_jdk_17_cleaned
|
|
|
|
before_script:
|
|
- if ! [ -z ${SCP_PRIVATE_KEY+x} ]; then eval $(ssh-agent -s); fi
|
|
- if ! [ -z ${SCP_PRIVATE_KEY+x} ]; then echo "$SCP_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null; fi
|
|
- if ! [ -z ${ANDROID_SETTINGS_GRADLE+x} ]; then echo "$ANDROID_SETTINGS_GRADLE" > settings.gradle.kts; fi
|
|
- git config --global --add safe.directory /builds/BC/private/linphone-android-6.0
|
|
|
|
script:
|
|
- ./gradlew app:dependencies | grep org.linphone
|
|
- ./gradlew assembleDebug
|
|
|
|
artifacts:
|
|
paths:
|
|
- ./app/build/outputs/apk/debug/linphone-android-debug-6.0.0.apk
|
|
when: always
|
|
expire_in: 1 week
|
|
|
|
|
|
.scheduled-job-android:
|
|
extends: job-android
|
|
only:
|
|
- schedules
|