In CI

The Linux x86-64 job of .github/workflows/build.yml (Linux AppImage (x86_64)), once its tests pass, installs the AppImage's runtime apart and runs the NRO AMBERLITH_NRO of Amberlith's release AMBERLITH_VERSION, pinned by AMBERLITH_SHA256, on lavapipe with the words of AMBERLITH_MODE, against amberlith/linux-x86_64.txt. The result goes in the run's summary and in the pull request's comment of builds; the artifact amberlith-<commit>-<attempt> holds the report, pictures, logs and baseline.txt.

A regression there fails the Build run, and a run that failed publishes nothing: neither a pull request's prerelease nor a version.

A pull request, a run by hand and a version's tag run them, as every test of the workflow (SNX_TESTS); a push to main and the nightly's schedule build and publish, and run none. The runs go one after the other, as the NRO's kernel family times its threads, each with its own output, summary and exit (scripts/ci/linux.sh amberlith_run), and the job fails when the NRO's or the APK's does.

The job also runs Amberlith's main, the NRO of its nightly release (checked by its .sha256), with scripts/amberlith.py run --advisory-baseline "$REFS/amberlith/linux-x86_64.txt": beside the pinned release's baseline it never fails. A case the release has not got that does not pass, a case the release passes that does not pass here, a run that ends early, or a nightly that cannot be fetched is a warning on the run, and the summary has a section of its own. A case new in main becomes binding when a release that has it is pinned and the baseline written again.


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