kasts/.gitlab-ci.yml

27 lines
715 B
YAML
Raw Normal View History

2020-04-24 23:34:42 +02:00
include:
- https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-before.yml
2020-05-09 23:47:45 +02:00
- https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-extragear-linux.yml
android:
2020-05-10 14:45:07 +02:00
variables:
2020-05-10 15:26:52 +02:00
CI_TOOLING: /home/user/ci-tooling
2020-05-10 15:24:27 +02:00
2020-05-09 23:53:21 +02:00
stage: build
2020-05-13 11:44:21 +02:00
image: kdeorg/android-sdk
2020-05-10 16:25:48 +02:00
2020-05-10 23:56:55 +02:00
artifacts:
paths:
2020-05-11 19:14:58 +02:00
- "*.apk"
2020-05-10 23:56:55 +02:00
2020-05-09 23:47:45 +02:00
script:
2020-05-11 19:14:58 +02:00
- cd /home/user
2020-05-10 15:24:27 +02:00
- /opt/helpers/build-kde-dependencies alligator
2020-05-11 19:14:58 +02:00
- APK_ARGS=`python3 /opt/helpers/get-apk-args.py $CI_PROJECT_DIR`
- /opt/helpers/build-cmake alligator $CI_PROJECT_DIR $APK_ARGS -DANDROID_APK_OUTPUT_DIR=$CI_PROJECT_DIR
- pushd build-arm/alligator
2020-05-10 23:56:55 +02:00
- make create-apk
- popd
2020-05-11 19:14:58 +02:00
- pushd build-arm64/alligator
2020-05-10 23:56:55 +02:00
- make create-apk
2020-05-10 21:55:54 +02:00
- popd