bitcoin-core / gui-qml

Bitcoin GUI (experimental QML-based fork)
MIT License
107 stars 40 forks source link

ci: build android 32 bit apk #317

Closed johnny9 closed 1 year ago

johnny9 commented 1 year ago

Windows Intel macOS Apple Silicon macOS ARM64 Android ARM32 Android

jarolrod commented 1 year ago

cc @hebasto

johnny9 commented 1 year ago

We've had a few people already including myself with armeabi v7a devices. I guess they aren't as old as I thought. Some 2018/2019 devices

johnny9 commented 1 year ago

from 9afa997 to 14a60c

johnny9 commented 1 year ago

from 14a60ca to 6e92cf

hebasto commented 1 year ago

CI is green. An artifact is available to download at https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_apk_32bit.zip?branch=pull/317.

johnny9 commented 1 year ago

from 0face65 to e11b561

jarolrod commented 1 year ago

concept ack, I don't currently have a 32 bit android device so cannot test

0xB10C commented 1 year ago

CI is green. An artifact is available to download at https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_apk_32bit.zip?branch=pull/317.

Synced signet on a OnePlus One (2014, 3GB RAM, 4x 2.45 GHz Snapdragon 801) with this APK in about an hour.

johnny9 commented 1 year ago

from e11b561 to 3b50687

johnny9 commented 1 year ago

from 3b50687 to ec8e89

hebasto commented 1 year ago

@johnny9

from 3b50687 to ec8e89

  • rebased with main

Thanks for rebasing!

Although another diff is required after rebasing:

--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -399,7 +399,9 @@ task:
   alias: android32
   << : *CONTAINER_DEPENDS_TEMPLATE
   container:
-    image: ubuntu:jammy
+      CI_IMAGE_NAME_TAG: ubuntu:jammy
+      FILE_ENV: "./ci/test/00_setup_env_android32.sh"
+  << : *CREDITS_TEMPLATE
   android_sdk_cache:
     folder: "depends/SDKs/android"
     fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=23.2.8568313"
@@ -409,7 +411,6 @@ task:
   << : *MAIN_TEMPLATE
   env:
     << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
-    FILE_ENV: "./ci/test/00_setup_env_android32.sh"
   copy_artifacts_script:
     - cp src/qt/android/build/outputs/apk/debug/android-debug.apk ${CIRRUS_WORKING_DIR}/unsecure_android_32bit.apk
   unsecure_android_32bit_apk_artifacts: