Commit 9eb680c5 authored by ab0027's avatar ab0027 💬

Upload APK artifact

parent b0b7cfe1
Pipeline #2215 canceled with stages
in 11 minutes and 30 seconds
......@@ -9,7 +9,7 @@ stages:
cache:
paths:
- build/
- ./build
before_script:
- cat ubports-pubkey.gpg | apt-key add -
......@@ -154,10 +154,6 @@ build-mauikit-arm64:
- "mauikit*arm64*.deb"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-index-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -171,12 +167,9 @@ build-index-arm64:
paths:
- "index*arm64*.AppImage"
- "index*arm64*.deb"
- "index*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-nota-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -190,12 +183,9 @@ build-nota-arm64:
paths:
- "nota*arm64*.AppImage"
- "nota*arm64*.deb"
- "nota*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-buho-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -209,12 +199,9 @@ build-buho-arm64:
paths:
- "buho*arm64*.AppImage"
- "buho*arm64*.deb"
- "buho*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-vvave-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -228,12 +215,9 @@ build-vvave-arm64:
paths:
- "vvave*arm64*.AppImage"
- "vvave*arm64*.deb"
- "vvave*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-pix-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -247,12 +231,9 @@ build-pix-arm64:
paths:
- "pix*arm64*.AppImage"
- "pix*arm64*.deb"
- "pix*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-station-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -268,10 +249,6 @@ build-station-arm64:
- "station*arm64*.deb"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
build-contacts-arm64:
image: mauikit/ubuntu-18.04-arm64
......@@ -285,12 +262,9 @@ build-contacts-arm64:
paths:
- "contacts*arm64*.AppImage"
- "contacts*arm64*.deb"
- "contacts*.apk"
cache:
key: cache-builds-arm
paths:
- /Qt
- ./Android
- ./build
###
# END Stage builds-arm
###
......@@ -314,6 +288,7 @@ push-artifacts:
/tmp/mc cp *arm64*.AppImage nx/maui/$BUILD_TYPE/$DATE/;
/tmp/mc cp *amd64*.deb nx/maui/$BUILD_TYPE/$DATE/;
/tmp/mc cp *arm64*.deb nx/maui/$BUILD_TYPE/$DATE/;
/tmp/mc cp *.apk nx/maui/$BUILD_TYPE/$DATE/;
fi
- if [ $BUILD_TYPE = 'stable' ]; then
/tmp/mc mb nx/maui/$BUILD_TYPE/mauikit/$BRANCH_MAUIKIT/;
......
......@@ -70,5 +70,5 @@ COMMIT_ID=$(cd $BUILDDIR && git rev-parse --short HEAD)
$SCRIPTPATH/Android/ndk/19.2.5345600/prebuilt/linux-x86_64/bin/make -j$(nproc) install INSTALL_ROOT=android-build
[ -d ../android_files ] && cp -r ../android_files/* ./android-build/
/Qt/5.13.2/android_armv7/bin/androiddeployqt --verbose --input $PWD/*.json --output $PWD/android-build --android-platform android-29 --gradle | tee $PROJECT_NAME.log 2>&1
mv $PWD/android-build/build/outputs/apk/debug/*.apk ../../${PROJECT_NAME}-${BUILD_TYPE}-${APP_VERSION}-git+${COMMIT_ID}-armv7-debug.deb
mv $PWD/android-build/build/outputs/apk/debug/*.apk ../../${PROJECT_NAME}-${BUILD_TYPE}-${APP_VERSION}-git+${COMMIT_ID}-armv7-debug.apk
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment