ankidroid/Anki-Android

CI should test 16kb and non-16kb page alignment in libraries, packaging, and emulator

Open

#16,917 opened on Aug 20, 2024

View on GitHub
 (13 comments) (1 reaction) (1 assignee)Kotlin (2,789 forks)batch import
Blocked by dependencyCIHelp WantedTests

Repository metrics

Stars
 (11,132 stars)
PR merge metrics
 (Avg merge 9d 4h) (123 merged PRs in 30d)

Description

with upcoming need to be "16kb alignment clean" the CI matrix for emulator tests should be updated to run against a 16kb emulator as well as a regular emulator. Suggest using this API/image-name tuple:

android-35;google_apis_ps16k

The page size should be verified in CI prior to execution, via the tests on linked google doc

Additionally, the .apk should be extracted and have .so file verification of page-alignment checked, and finally the zipalign should be checked - otherwise we won't know if we have actually done the work or not, and we won't track any random regressions

Originally posted by @mikehardy in https://github.com/ankidroid/Anki-Android-Backend/pull/402#discussion_r1723732098

Contributor guide