Use CI_PROJECT_NAME instead of hardcoding alligator

This commit is contained in:
Nicolas Fella 2020-05-13 12:09:00 +02:00
parent 1c3b59e677
commit f4a89b427d
1 changed files with 4 additions and 4 deletions

View File

@ -15,12 +15,12 @@ android:
script:
- cd /home/user
- /opt/helpers/build-kde-dependencies alligator
- /opt/helpers/build-kde-dependencies $CI_PROJECT_NAME
- 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
- /opt/helpers/build-cmake $CI_PROJECT_NAME $CI_PROJECT_DIR $APK_ARGS -DANDROID_APK_OUTPUT_DIR=$CI_PROJECT_DIR
- pushd build-arm/$CI_PROJECT_NAME
- make create-apk
- popd
- pushd build-arm64/alligator
- pushd build-arm64/$CI_PROJECT_NAME
- make create-apk
- popd