ankidroid/Anki-Android

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

Open

#16,917 创建于 2024年8月20日

在 GitHub 查看
 (13 评论) (1 反应) (1 负责人)Kotlin (11,132 star) (2,789 fork)batch import
Blocked by dependencyCIHelp WantedTests

描述

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

贡献者指南