Add ci file

This commit is contained in:
Erwan Croze 2019-01-30 09:14:59 +01:00
parent 7dfbe023f4
commit e3c8bfc409

27
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,27 @@
job-android:
stage: build
tags: [ "docker-android" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-android:r16b
variables:
CMAKE_GENERATOR: Ninja
script:
- sdkmanager
- ./prepapre.py
- make
- cp bin/outputs/apk/debug/linphone-android-obiane-debug.apk android-obiane.apk
- make unsigned
- cp bin/outputs/apk/packaged/linphone-android-obiane-packaged-unsigned.apk android-obiane-unsigned.apk
artifacts:
paths:
- android-obiane-unsigned.apk
- android-obiane.apk
when: always
expire_in: 1 week
stages:
- build