nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.15k stars 65 forks source link

Emulator-powered testing #379

Closed t184256 closed 2 days ago

t184256 commented 2 weeks ago

[x] add building x86_64 proot and bootstrap zipball [x] figure out flake schema for packages (flat, prootTermux-aarch64) [x] build an x86_64 apk to run tests against, pull it from somewhere (hope we'd just use one from F-Droid next release) [x] tear fakedroid-based CI out and use an emulator instead (example: https://github.com/t184256/droidctl/commit/b45cbe8b297330d183ad8a05dc2bb343eac0f9e7) [x] write a droidctl script to bootstrap from a locally built zipball, used as a base for further tests [x] write a droidctl script to run on-device-tests inside the emulator [x] write a droidctl script to type several commands into the emulator and check the output (stretch goal) [ ] test different API levels (stretch goal) [ ] test aarch64 as well (stretch goal) [ ] push to cachix from within aarch64 emulators (stretch goal)

t184256 commented 2 days ago

Squashed, thank you for the review!