|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
CirrusCI
build: android: use Java 17, as before debian upgrade :/ When building on debian 12, we were using Java 17. On debian 13, Java 17 is not packaged anymore, instead there is Java 21 and 25. Ideally we should upgrade to Java 21 and just install it from apt. However old Gradle is not compatible with new Java, so we have to upgrade Gradle for that. - see https://docs.gradle.org/current/userguide/compatibility.html Old Gradle is giving build errors with Java 21: ``` Could not compile build file '/home/user/wspace/electrum/.buildozer_qml/android/platform/build-arm64-v8a/dists/Electrum/build.gradle'. > startup failed: General error during conversion: Unsupported class file major version 65 java.lang.IllegalArgumentException: Unsupported class file major version 65 ``` for our p4a fork, I tried to cherry-pick stuff from upstream: - https://github.com/kivy/python-for-android/commit/17bf53227 - https://github.com/kivy/python-for-android/pull/3172 https://github.com/kivy/python-for-android/commit/a8f2ca1c5 - see https://github.com/SomberNight/python-for-android/compare/a01269f77...846a10948 That seems sufficient to upgrade Gradle as far as p4a is concerned. However that still did not work yet: - contrib/android/make_barcode_scanner.sh fails, as markusfisch/zxing-cpp and markusfisch/CameraView are also using too old gradle versions for Java 21 - it seems they are intentionally doing this to maintain compat with Android 4: see https://github.com/markusfisch/zxing-cpp/commit/d98ed5d0b So for now maybe the path of least resistance is to downgrade to Java 17 :(
23991 of 38255 relevant lines covered (62.71%)
0.63 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
60.51 |
-0.09% | electrum/interface.py |
| 3 |
90.67 |
-1.55% | electrum/trampoline.py |
| 22 |
86.9 |
0.05% | electrum/lnmsg.py |
| 32 |
84.64 |
-0.78% | electrum/lntransport.py |
| 112 |
82.0 |
-0.08% | electrum/wallet_db.py |
| 504 |
57.26 |
-1.08% | electrum/lnworker.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 5250752379092992.1 | 89 |
62.71 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|