On the Android layer

Each release also carries the probe's Android build, amberlith-<version>.apk (edenprobe.apk before 1.0.0): the judge's suites and the libc family in Android's C library, with cases of its own for bionic, GLES, the network, JNI, the framework and resources, each passing on Android 16. --apk runs it on scarletnx-android (Android apps) with nothing recompiled:

python3 scripts/amberlith.py run --runtime build/scarletnx --apk amberlith-1.2.0.apk --mode quick --out /tmp/amberlith-apk \
    [--java-home DIR] [--baseline "$REFS/amberlith/android-x86_64.txt"]

The runtime runs it as scarletnx-android --headless, on the JDK the build found or --java-home's, with the framework's jar and android-fonts/ beside the program, where the build and an install put them. The words go to the mode file in the app's files under work/, scarletnx/android/data/org.scarletnx.amberlith/external/files/amberlith/ of its XDG_DATA_HOME, and org.scarletnx.edenprobe/external/files/edenprobe/, the app before 1.0.0, each reading its own, with machine=scarletnx-android@<the runtime's commit> beside them; quick runs every family the APK has. The probe takes a folder of 160 characters at most, so an --out that makes it longer is refused. The launches, the report and the baseline are the NRO's.

In CI the Linux x86-64 job runs it after the NRO, on the same install with the JVM of the build's JDK, as AMBERLITH_APK of the release AMBERLITH_APK_VERSION, pinned by AMBERLITH_APK_SHA256, with the words of AMBERLITH_APK_MODE, against amberlith/android-x86_64.txt, written as the NRO's is. Its notice follows the NRO's on the probe's line of the pull request's comment, and its files are under amberlith-android/ in the job's artifact.


Made from docs/dev/amberlith.md at 69237645142c. GPL-3.0-or-later.