Skip to content

Commit 581dbba

Browse files
CU-868fmk85f Upgrade android-emulator-runner to most recent release on ReactiveCircus (#1)
I created this branch by running git checkout -b copy-of-v2 upstream/release/v2. This is to get most recent release-ready version from the other repo, ReactiveCircus/android-emulator-runner. Since our original copy of the branch, the android-emulator-runner has added support for running emulators on Ubuntu to the extent that it is now more efficient than running on MacOs. $ git log main...copy-of-v2 commit 5302c0e Author: John Doe [katie@managexr.com](mailto:katie@managexr.com) Date: Wed Oct 8 12:02:45 2025 -0700 ``` Fix emulator port issue by removing explicit port assignment - Remove default port from action.yml to avoid forcing port 5554 - Allow emulator to auto-assign port instead of explicit -port parameter - Keep default port for ADB commands but don't force emulator port ``` commit 1dcd009 Merge: 62dbb60 2548f9f Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 29 01:51:10 2025 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.34.0. Update README.md and CHANGELOG.md. Support API levels for SDK extensions and add missing targets for automotive and desktop. (ReactiveCircus#428) Add `Baklava` support (ReactiveCircus#424) ``` commit 2548f9f Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 29 01:48:44 2025 +1100 ``` Prepare for release 2.34.0. ``` commit 595a456 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 29 01:33:05 2025 +1100 ``` Update README.md and CHANGELOG.md. ``` commit a173d65 Author: Timothy [6560631+TimoPtr@users.noreply.github.com](mailto:6560631+TimoPtr@users.noreply.github.com) Date: Fri Mar 28 15:04:02 2025 +0100 ``` Support API levels for SDK extensions and add missing targets for automotive and desktop. (ReactiveCircus#428) ``` commit 50d5b10 Author: LoveSy [shana@zju.edu.cn](mailto:shana@zju.edu.cn) Date: Fri Jan 24 19:46:33 2025 +0800 ``` Add `Baklava` support (ReactiveCircus#424) * Add `Baklava` support * Fix typo of `ubuntu-latest` to fix CI ``` commit 62dbb60 Merge: f0d1ed2 c77bfe7 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Oct 12 17:43:32 2024 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.33.0. Fix avd path on ubuntu-24.04 - attempt 2 (ReactiveCircus#415) Revert creating avd directory. (ReactiveCircus#414) Fix SDK path issues with ubuntu-24.04 (ReactiveCircus#409) SDK build tools 35.0.0, command-line tools 16.0. (ReactiveCircus#408) Avoid changing the owner of unnecessary files (ReactiveCircus#406) Update npm packages. (ReactiveCircus#401) ``` commit c77bfe7 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Oct 12 17:42:24 2024 +1100 ``` Prepare for release 2.33.0. ``` commit ead704c Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Oct 12 17:26:36 2024 +1100 ``` Fix avd path on ubuntu-24.04 - attempt 2 (ReactiveCircus#415) ``` commit e800fff Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri Oct 11 13:55:44 2024 +1100 ``` Revert creating avd directory. (ReactiveCircus#414) ``` commit 8c07710 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri Oct 11 11:55:47 2024 +1100 ``` Fix SDK path issues with ubuntu-24.04 (ReactiveCircus#409) ``` commit 3a18f50 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Mon Oct 7 00:50:35 2024 +1100 ``` SDK build tools 35.0.0, command-line tools 16.0. (ReactiveCircus#408) ``` commit 1b985f4 Author: Justin Brooks [justin@jzbrooks.com](mailto:justin@jzbrooks.com) Date: Fri Oct 4 22:53:35 2024 -0400 ``` Avoid changing the owner of unnecessary files (ReactiveCircus#406) * Avoid changing the owner of unnecessary files Source files shouldn't matter for the purposes of this tool. % ls -R $ANDROID_HOME/sources/android-34 | wc -l 17750 * Remove non-existant directory * Avoid another unnecessary chown * Push js ``` commit a3dcdb3 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Jul 9 16:23:18 2024 +1000 ``` Update npm packages. (ReactiveCircus#401) ``` commit f0d1ed2 Merge: 77986be 81f860b Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Jul 9 12:55:08 2024 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.32.0. Add missing compiled js files from ReactiveCircus#383. Support customizing emulator port (ReactiveCircus#383) ``` commit 81f860b Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Jul 9 12:53:57 2024 +1000 ``` Prepare for release 2.32.0. ``` commit e93b947 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Jul 9 12:51:00 2024 +1000 ``` Add missing compiled js files from ReactiveCircus#383. ``` commit 4b0628e Author: Kamil Bąk [34217757+KamilKurde@users.noreply.github.com](mailto:34217757+KamilKurde@users.noreply.github.com) Date: Tue Jul 2 14:42:44 2024 +0200 ``` Support customizing emulator port (ReactiveCircus#383) * Add port parameter * Fix a typo in test description * Fix avd not being started with correct port * Fix wrong port being used to kill an emulator if there was an exception ``` commit 77986be Merge: 6b0df4b ca77a10 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat May 25 00:02:03 2024 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.31.0. Install platforms for the specified api level (ReactiveCircus#384) Add api level `VanillaIceCream` support (ReactiveCircus#378) Bump Gradle wrapper validation from v1 to v2 to use Node 20 (ReactiveCircus#374) Migrate to Node 20 on CI via GitHub Actions major upgrades (ReactiveCircus#372) ``` commit ca77a10 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat May 25 00:00:37 2024 +1000 ``` Prepare for release 2.31.0. ``` commit 1fef06a Author: Josh Lesch [joshrlesch@users.noreply.github.com](mailto:joshrlesch@users.noreply.github.com) Date: Wed Mar 27 17:40:07 2024 -0500 ``` Install platforms for the specified api level (ReactiveCircus#384) * Install platforms for the specified api level * Fix typo ``` commit d8da5b6 Author: LoveSy [shana@zju.edu.cn](mailto:shana@zju.edu.cn) Date: Sun Feb 18 07:14:24 2024 +0800 ``` Add api level `VanillaIceCream` support (ReactiveCircus#378) ``` commit a0c0e72 Author: Róbert Papp [papp.robert.s@gmail.com](mailto:papp.robert.s@gmail.com) Date: Mon Jan 29 21:34:22 2024 +0000 ``` Bump Gradle wrapper validation from v1 to v2 to use Node 20 (ReactiveCircus#374) ``` commit 9d5d623 Author: Róbert Papp [papp.robert.s@gmail.com](mailto:papp.robert.s@gmail.com) Date: Sat Jan 27 12:11:47 2024 +0000 ``` Migrate to Node 20 on CI via GitHub Actions major upgrades (ReactiveCircus#372) * Update first party actions to Node 20 majors. * Update Gradle cache actions to Node 20 majors. ``` commit 6b0df4b Merge: eaf4c24 bc2cd2a Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Jan 26 23:28:10 2024 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.30.1. Run the action on Node 20 (ReactiveCircus#371) ``` commit bc2cd2a Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Jan 26 23:26:22 2024 +1100 ``` Prepare for release 2.30.1. ``` commit 61a61f9 Author: Róbert Papp [papp.robert.s@gmail.com](mailto:papp.robert.s@gmail.com) Date: Fri Jan 26 12:24:19 2024 +0000 ``` Run the action on Node 20 (ReactiveCircus#371) ``` commit eaf4c24 Merge: 99a4aac 426fbd2 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Thu Jan 25 23:16:47 2024 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.30.0. Node 20. (ReactiveCircus#369) Add another user: robolectric/robolectric (ReactiveCircus#352) Promote using ubuntu runner with KVM. (ReactiveCircus#366) ``` commit 426fbd2 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Thu Jan 25 23:14:27 2024 +1100 ``` Prepare for release 2.30.0. ``` commit e1bd48c Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Thu Jan 25 23:10:17 2024 +1100 ``` Node 20. (ReactiveCircus#369) ``` commit 1e33853 Author: utzcoz [43091780+utzcoz@users.noreply.github.com](mailto:43091780+utzcoz@users.noreply.github.com) Date: Sat Jan 20 13:43:05 2024 +0800 ``` Add another user: robolectric/robolectric (ReactiveCircus#352) Signed-off-by: utzcoz <utzcoz@outlook.com> ``` commit c479bb6 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Jan 19 17:38:35 2024 +1100 ``` Promote using ubuntu runner with KVM. (ReactiveCircus#366) ``` commit 99a4aac Merge: d94c3fb 677db68 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 18:33:29 2023 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.29.0. SDK command-line tools 11.0. (ReactiveCircus#356) Update npm packages. (ReactiveCircus#355) Check in updated `*.js` file. Update test fixture dependencies. (ReactiveCircus#354) Upgrade to latest npm dependencies (ReactiveCircus#347) Fixed emulator download URL (ReactiveCircus#343) Update README.md (Who is using…) (ReactiveCircus#335) ``` commit 677db68 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 18:32:27 2023 +1100 ``` Prepare for release 2.29.0. ``` commit f9c2835 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 18:25:39 2023 +1100 ``` SDK command-line tools 11.0. (ReactiveCircus#356) * SDK command-line tools 11.0. * Temporarily disable API 16 test. ``` commit 1036f55 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 12:46:32 2023 +1100 ``` Update npm packages. (ReactiveCircus#355) ``` commit 5a481d2 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 11:38:49 2023 +1100 ``` Check in updated `*.js` file. ``` commit f72f505 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Dec 6 11:37:21 2023 +1100 ``` Update test fixture dependencies. (ReactiveCircus#354) ``` commit fabc291 Author: Michael Bailey [1195562+yogurtearl@users.noreply.github.com](mailto:1195562+yogurtearl@users.noreply.github.com) Date: Thu Aug 24 02:31:32 2023 -0700 ``` Upgrade to latest npm dependencies (ReactiveCircus#347) ``` commit 2cfd145 Author: olegdolgikh [127970383+olegdolgikh@users.noreply.github.com](mailto:127970383+olegdolgikh@users.noreply.github.com) Date: Tue Jul 4 13:39:36 2023 +0200 ``` Fixed emulator download URL (ReactiveCircus#343) Previous code worked in a wrong way. 1. Getting the first char of a build number is mistake because now numbers start with 1, but whole number higher than the number which starts from 7. 2. URL was incorrect for arm mac machines. It needed to add `aarch64` suffix ``` commit 5e93562 Author: Ethan Graham [116118556+ethanxr@users.noreply.github.com](mailto:116118556+ethanxr@users.noreply.github.com) Date: Sat Apr 29 00:09:33 2023 -0700 ``` Stop chatty test output ``` commit e1bdfef Author: Ricki Hirner [hirner@bitfire.at](mailto:hirner@bitfire.at) Date: Tue Apr 25 10:33:07 2023 +0200 ``` Update README.md (Who is using…) (ReactiveCircus#335) Add davx5-ose to Who is using… ``` commit d94c3fb Merge: 50986b1 b35b1c6 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 18 19:50:25 2023 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.28.0. Cleanup action description. Update `test-fixture` dependencies and workflows (ReactiveCircus#332) SDK command-line tools 9.0. (ReactiveCircus#331) Add emulator-boot-timeout parameter (ReactiveCircus#326) Update dependency androidx.appcompat:appcompat to v1.6.1 (ReactiveCircus#322) Add renovate.json (ReactiveCircus#320) Support non-integer API level (ReactiveCircus#317) Replace deprecated `ANDROID_SDK_ROOT` with `ANDROID_HOME`. Update npm packages. Include ACRA in list of users (ReactiveCircus#295) Update readme with new info on hypervisors (ReactiveCircus#292) SDK command-line tools 8.0. (ReactiveCircus#291) ``` commit b35b1c6 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 18 19:49:07 2023 +1100 ``` Prepare for release 2.28.0. ``` commit acd15a6 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 18 19:39:55 2023 +1100 ``` Cleanup action description. ``` commit a2c97ef Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 18 19:38:37 2023 +1100 ``` Update `test-fixture` dependencies and workflows (ReactiveCircus#332) * Gradle 8.0.2 for test-fixture. Update Gradle build cache in workflows. * Update all dependencies for `test-fixture`. * Add missing JVM target. ``` commit 8c71f5e Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 18 18:58:54 2023 +1100 ``` SDK command-line tools 9.0. (ReactiveCircus#331) ``` commit 743ec40 Author: Dmitry Koplyarov [koplyarov.da@gmail.com](mailto:koplyarov.da@gmail.com) Date: Thu Mar 9 00:44:31 2023 +0000 ``` Add emulator-boot-timeout parameter (ReactiveCircus#326) * Add emulator-boot-timeout parameter * Update action-types.yml ``` commit bad4154 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Feb 18 11:34:02 2023 +1100 ``` Update dependency androidx.appcompat:appcompat to v1.6.1 (ReactiveCircus#322) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> ``` commit bdaf049 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sat Feb 18 11:30:28 2023 +1100 ``` Add renovate.json (ReactiveCircus#320) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> ``` commit 8e947e5 Author: LoveSy [631499712@qq.com](mailto:631499712@qq.com) Date: Thu Feb 9 20:07:08 2023 +0800 ``` Support non-integer API level (ReactiveCircus#317) * Support non-integer API level * update lib * Add test * No need to install platforms. Mostly application will use different SDK platform. * Update lib ``` commit 50986b1 Merge: d7b53dd 87e9722 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Oct 28 18:30:49 2022 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.27.0. Clean up action description. Update dependencies (ReactiveCircus#282) Update Readme & Provide current context on Hardware Acceleration on Github (ReactiveCircus#279) Pre Emulator Launch Script (ReactiveCircus#247) Update to Node 16 (ReactiveCircus#276) ``` commit d7b53dd Merge: b390b0e 6fd58f9 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Sep 20 15:35:23 2022 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.26.0. Bump @actions/core from 1.6.0 to 1.9.1 (ReactiveCircus#262) Add action types (ReactiveCircus#257) Update documentation (ReactiveCircus#255) ``` commit b390b0e Merge: e790971 402c25e Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Tue Jul 12 18:48:20 2022 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.25.0. Check in missing compiled js file. Auto detect hardware acceleration on Linux (ReactiveCircus#254) Build tools 33.0.0. Update test fixture dependencies. Update Kotlin and AGP in test-fixture. SDK command-line tools 7.0. ``` commit e790971 Merge: 76c2bf6 f30ff06 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Apr 30 23:35:35 2022 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.24.0. Add option to specify AVD heap size (ReactiveCircus#245) Gradle 7.4.2. Bump GH actions (ReactiveCircus#240) Bump minimist from 1.2.5 to 1.2.6 (ReactiveCircus#237) Update dependencies in test-fixture. Add more .gitignore rules (ReactiveCircus#231) Update README for using with gradle/gradle-build-action (ReactiveCircus#230) ``` commit 76c2bf6 Merge: 48744f2 08a23a6 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri Feb 18 01:49:20 2022 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.23.0. Add missing generated .js files. Add GHA commands to group logs (ReactiveCircus#224) wikimedia have likely renamed master -> main (ReactiveCircus#221) Allow increasing main storage size (sdcard is separate storage) (ReactiveCircus#219) Update to SDK command-line tools 6.0. (ReactiveCircus#213) Update build tools to 32.0.0. Update text-fixture compileSdkVersion and targetSdkVersion to 32. (ReactiveCircus#212) ``` commit 48744f2 Merge: 2b2ebf2 5b2310f Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Dec 25 02:27:59 2021 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.22.0. Update the README and fix some typos (ReactiveCircus#199) Add support for enabling hardware keyboard. Update README.md `avdmanager list device` Update NPM packages. Migrate to gradle-build-action. Update packages. ``` commit 2b2ebf2 Merge: f71c6d1 d203cdc Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Oct 23 19:52:26 2021 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.21.0. Update packages. Support aosp_atd and google_atd targets. Added SORMAS to the list of projects Bump tmpl from 1.0.4 to 1.0.5 Update NPM packages. Add tinylog to project list Add paths-ignore for pull_request. Fix typo. ``` commit f71c6d1 Merge: 5de26e4 511d462 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Aug 28 20:04:58 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.20.0. Update manual workflow. Support choosing channel to download SDK components from. build-tools to 31.0.0; SDK cmd-line tools to 5.0. (ReactiveCircus#174) Fix macos-11 VM label. Realm JavaScript is using Android Emulator Runner (ReactiveCircus#182) Add MobileRT to the list of projects (ReactiveCircus#181) Support non-mobile targets (Wear OS, TV) (ReactiveCircus#180) Bump path-parse from 1.0.6 to 1.0.7 ``` commit 5de26e4 Merge: ac874f3 5e487db Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Tue Jul 20 23:53:04 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.19.1. Accept all Android SDK Licenses Adds Norris to the list of projects ``` commit ac874f3 Merge: 6e775ef 0c3db9c Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Jun 26 23:49:47 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.19.0. Add option to set AVD RAM size. ``` commit 6e775ef Merge: 97449e9 8a43334 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Jun 26 01:23:30 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.18.1. Unzip specific emulator build into latest emulator build from sdkmanager. Support using modern build id for emulator-build. ``` commit 97449e9 Merge: 226f262 fe99eb1 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sun Jun 20 15:28:07 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.18.0. Add sample workflow for AVD snapshot caching. Add `force-avd-creation` to Configurations table in README.md. Add force-avd-creation to skip avd creation if avd with same name exists. Update workflow to test snapshot caching. Add accompanist to adoption list Gradle 7.1. Bump glob-parent from 5.1.1 to 5.1.2 Bump ws from 7.3.1 to 7.4.6 ``` commit 226f262 Merge: 599839e 4342116 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri May 28 17:13:49 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.17.0. Update test fixture dependencies. Add option to toggle Linux hardware acceleration Bump hosted-git-info from 2.8.8 to 2.8.9 Bump lodash from 4.17.19 to 4.17.21 ``` commit 599839e Merge: d279995 751bef6 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri May 7 18:32:02 2021 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.16.0. Add support for arm64-v8a for Apple Silicon Macs Add option to disable spellcheck Bump y18n from 4.0.0 to 4.0.1 Update README.md Add google/android-fhir to the list of projects that use android-emulator-runner (ReactiveCircus#132) Add Wikipedia app to list of projects. Add kiwix-android to the list of projects Avoid Wrapping Script Code In Quotes ``` commit d279995 Merge: 08b092e 838986e Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri Mar 5 10:41:47 2021 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.15.0. Change default cores to 2, add cores in workflow Add option to modify the number of cores ``` commit 08b092e Merge: 94bd1ed 91b2b2f Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Wed Jan 13 19:29:01 2021 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.14.3. Always add path for cmdline-tools to support macos-11.0. Gradle 6.8. Add Hash Checker app projects to consumers list Add LeakCanary to adopter list ``` commit 94bd1ed Merge: 70e3f6e c3e261e Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Tue Jan 5 18:29:16 2021 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.14.2. Support non-default API 28 images ``` commit 70e3f6e Merge: 02cf805 0d8602f Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Mon Dec 28 14:00:37 2020 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.14.1. Fix AVD creation hang when profile is not specified. ``` commit 02cf805 Merge: e08f702 045b7d8 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sun Dec 27 20:48:59 2020 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.14.0. Support specifying SD card path or size. Update npm packages. Replace usages of deprecated ANDROID_HOME with ANDROID_ROOT_SDK. Bump build tools to 30.0.3. Update test-fixture dependencies. Update Compose Samples URL ``` commit e08f702 Merge: 07b0366 11559ab Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Sat Nov 14 19:05:52 2020 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.13.0. Update cmdline-tools to 3.0. Update npm packages. Add Shopify/android-testify to list of projects ``` commit 07b0366 Merge: c56210b 15da0b2 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Fri Oct 16 14:48:14 2020 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.12.0. Add support for using google_apis_playstore system images. Fix README.md typo ``` commit c56210b Merge: 4a8a9af 04a32d7 Author: Yang [reactivecircus@gmail.com](mailto:reactivecircus@gmail.com) Date: Thu Oct 8 12:44:58 2020 +1100 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.11.1. Update npm packages. Bump @actions/core from 1.2.4 to 1.2.6 Update to gradle 6.7-rc-1 for test fixture. Build with Java 15 on CI. Improve GitHub Actions Gradle cache. Add square/radiography to adopter list Add cashapp/copper to adapter list SDK Build tools 30.0.2. Update fixture dependencies. Gradle 6.6. Update README.md Update packages. Build tools 30.0.1. Use fs for writing licence files. Update cmdline-tools to 2.1. ``` commit 4a8a9af Merge: b62c970 a72b5eb Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Jun 20 19:53:32 2020 +1000 ``` Merge branch 'main' into release/v2 * main: Prepare for release 2.11.0. Support running multiple actions sequentially in a single job. Add RxBinding to adopter list. Rename master branch to main. ``` commit b62c970 Merge: e93c997 9ef7536 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Jun 12 19:51:10 2020 +1000 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.10.0. Support API 30 system images and add API 30 to workflow. Update build tools to 30.0.0. Update test projec’s compileSdk and targetSdk to API 30. ``` commit e93c997 Merge: 4f4106d fc17953 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri May 29 23:10:58 2020 +1000 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.9.0. Update test fixture dependencies. SDK Command-line Tools 2.0. Add information on running on Linux to README.md. Fix doc. Mention ci-matters repo in adopters list ``` commit 4f4106d Merge: 2f678a7 4df9257 Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri May 1 20:18:58 2020 +1000 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.8.0. Add support for specifying a custom name used for creating AVD. Fix typo Add list of projects using android-emulator-runner. Bump kotlin and AGP for test fixture project. ``` commit 2f678a7 Merge: e4eb880 33176ea Author: Yang [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Apr 11 21:52:57 2020 +1000 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.7.0. Security audit. Support specifying versions of NDK and CMake to install. ``` commit e4eb880 Merge: a3b0e6d 61dd774 Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Apr 3 00:13:02 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.6.2. Add gradle caching. Use correct cli-tools binary for mac. Remove API 28 from workflow. ``` commit a3b0e6d Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Apr 1 00:56:37 2020 +1100 ``` Update node_modules. ``` commit 0159db6 Merge: 769ff28 22965df Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Wed Apr 1 00:54:08 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.6.1. Fix sdk license issue with API 28+ system images on Linux. ``` commit 769ff28 Merge: 6bb3965 0d96655 Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Mar 28 15:00:56 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.6.0. Update packages. Add information re. hardware acceleration for linux support. Support running on linux without hardware accleration. Gradle 6.3. Gradle 6.3-rc-4. Update workflow to use Java 14. Update npm packages. Bump acorn from 5.7.3 to 5.7.4 ``` commit 6bb3965 Merge: 2754675 da846ad Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Thu Mar 5 14:55:36 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.5.0. Add support for API 15-19 system images. Use new cmdline-tools with support for running sdkmanager and avdmanager with Java 8+. Update test-fixture dependencies. Drop minSdkVersion to 15. Update to AGP 3.6.0 and Gradle 6.2.1 for test-fixture project. ``` commit 2754675 Merge: bdf1f83 aaa1121 Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Feb 15 18:52:13 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.4.0. Add support for setting a custom working-directory. Fix typo ``` commit bdf1f83 Merge: 5dd12aa d3a226f Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Tue Feb 4 12:28:52 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.3.2. Fix escaped environment variables in script. ``` commit 5dd12aa Merge: d27f7ec e53c6d9 Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Fri Jan 31 11:47:56 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.3.1. Update Gradle to 6.1.1 for test-fixture. Build tools 29.0.3. Validate Gradle Wrapper. ``` commit d27f7ec Merge: 3f52989 1162b6c Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Mon Jan 20 03:57:13 2020 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.3.0. Force use Java 8 for sdkmanager and avdmanager. Update checkout action to v2. ``` commit 3f52989 Merge: da41ec9 86385e0 Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sun Dec 15 04:32:53 2019 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.2.0. Stop pinning emulator build in workflow. Add support for pinning specific emulator build. Explicitly set GPU mode to swiftshader_indirect. Fix script execution order. Run test fixture in workflow. ``` commit da41ec9 Merge: f079aca 269b6dc Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Dec 14 00:36:51 2019 +1100 ``` Merge branch 'master' into release/v2 * master: Prepare for release 2.1.0. Support multi-line script. Skip workflow for markdown file changes. Reference Article ``` commit f079aca Author: Yang Chen [ychescale9@gmail.com](mailto:ychescale9@gmail.com) Date: Sat Dec 7 18:09:02 2019 +1100 ``` Release v2. ```
2 parents 5e93562 + 5302c0e commit 581dbba

File tree

253 files changed

+20347
-2236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+20347
-2236
lines changed

.github/workflows/action-types.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
validate-typings:
1010
runs-on: "ubuntu-latest"
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- uses: krzema12/github-actions-typing@v0

.github/workflows/main.yml

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,36 @@ jobs:
1818
timeout-minutes: 15
1919
strategy:
2020
matrix:
21-
os: [macos-latest, ubuntu-latest]
22-
api-level: [16, 23, 29]
23-
target: [default, google_apis]
24-
arch: [x86]
25-
exclude:
26-
- os: ubuntu-latest
27-
api-level: 23
28-
- os: ubuntu-latest
29-
api-level: 29
30-
- target: google_apis
31-
api-level: 16
32-
- target: google_apis
33-
api-level: 23
34-
- target: google_apis
35-
api-level: 29
3621
include:
37-
- os: macos-latest
22+
- os: ubuntu-22.04
23+
api-level: 23
24+
target: default
25+
arch: x86
26+
- os: ubuntu-24.04
3827
api-level: 24
3928
target: playstore
4029
arch: x86
41-
- os: macos-latest
42-
api-level: 30
43-
target: aosp_atd
44-
arch: x86
45-
- os: macos-11
30+
- os: macos-13
4631
api-level: 31
32+
target: default
33+
arch: x86_64
34+
- os: ubuntu-24.04
35+
api-level: 34
36+
target: aosp_atd
37+
arch: x86_64
38+
- os: ubuntu-latest
39+
api-level: 35
4740
target: google_apis
4841
arch: x86_64
42+
- os: ubuntu-latest
43+
api-level: 34-ext10
44+
target: android-automotive
45+
arch: x86_64
46+
system-image-api-level: 34-ext9
4947

5048
steps:
5149
- name: checkout
52-
uses: actions/checkout@v3
53-
54-
- name: validate gradle wrapper
55-
uses: gradle/wrapper-validation-action@v1
50+
uses: actions/checkout@v4
5651

5752
- name: build, test and lint
5853
run: |
@@ -61,25 +56,32 @@ jobs:
6156
npm run lint
6257
npm test
6358
64-
- name: Java 15
65-
uses: actions/setup-java@v3
59+
- uses: actions/setup-java@v4
6660
with:
6761
distribution: 'zulu'
68-
java-version: 15
69-
- uses: actions/cache@v3
62+
java-version: 23
63+
64+
- uses: actions/cache@v4
7065
id: avd-cache
7166
with:
7267
path: |
7368
~/.android/avd/*
7469
~/.android/adb*
7570
~/.android/debug.keystore
76-
key: avd-${{ matrix.api-level }}-${{ matrix.os }}-${{ matrix.target }}
71+
key: avd-${{ matrix.api-level }}-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.arch }}
72+
73+
- uses: gradle/actions/setup-gradle@v4
7774

7875
- name: assemble tests
79-
uses: gradle/gradle-build-action@v2
80-
with:
81-
build-root-directory: test-fixture
82-
arguments: assembleAndroidTest
76+
working-directory: test-fixture
77+
run: ./gradlew assembleAndroidTest
78+
79+
- name: enable KVM for linux runners
80+
if: runner.os == 'Linux'
81+
run: |
82+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
83+
sudo udevadm control --reload-rules
84+
sudo udevadm trigger --name-match=kvm
8385
8486
- name: run emulator to generate snapshot for caching
8587
if: steps.avd-cache.outputs.cache-hit != 'true'
@@ -88,6 +90,7 @@ jobs:
8890
api-level: ${{ matrix.api-level }}
8991
target: ${{ matrix.target }}
9092
arch: ${{ matrix.arch }}
93+
system-image-api-level: ${{ matrix.system-image-api-level }}
9194
profile: Galaxy Nexus
9295
cores: 2
9396
sdcard-path-or-size: 100M
@@ -105,6 +108,7 @@ jobs:
105108
api-level: ${{ matrix.api-level }}
106109
target: ${{ matrix.target }}
107110
arch: ${{ matrix.arch }}
111+
system-image-api-level: ${{ matrix.system-image-api-level }}
108112
profile: Galaxy Nexus
109113
cores: 2
110114
ram-size: 2048M

.github/workflows/manually.yml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ on:
55
os:
66
description: 'OS'
77
required: true
8-
default: 'macos-latest'
8+
default: 'ubuntu-latest'
99
api-level:
10-
description: 'API level of the platform and system image'
10+
description: 'API level of the platform and system image (if not overridden with system-image-api-level input) - e.g. 33, 35-ext15, Baklava'
1111
required: true
12-
default: '30'
12+
default: '34'
13+
system-image-api-level:
14+
description: 'API level of the system image - e.g. 34-ext10, 35-ext15'
1315
target:
14-
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv or google-tv'
16+
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv, google-tv, android-automotive, android-automotive-playstore or android-desktop'
1517
required: true
1618
default: 'default'
1719
arch:
1820
description: 'CPU architecture of the system image - x86, x86_64 or arm64-v8a'
19-
default: 'x86'
21+
default: 'x86_64'
2022
emulator-options:
2123
description: 'command-line options used when launching the emulator'
2224
default: '-no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim'
@@ -39,10 +41,7 @@ jobs:
3941

4042
steps:
4143
- name: checkout
42-
uses: actions/checkout@v3
43-
44-
- name: validate gradle wrapper
45-
uses: gradle/wrapper-validation-action@v1
44+
uses: actions/checkout@v4
4645

4746
- name: build, test and lint
4847
run: |
@@ -51,24 +50,27 @@ jobs:
5150
npm run lint
5251
npm test
5352
54-
- name: Java 15
55-
uses: actions/setup-java@v3
53+
- uses: actions/setup-java@v4
5654
with:
5755
distribution: 'zulu'
58-
java-version: 15
59-
- uses: actions/cache@v3
60-
with:
61-
path: |
62-
~/.gradle/caches
63-
~/.gradle/wrapper
64-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
56+
java-version: 23
57+
58+
- uses: gradle/actions/setup-gradle@v4
59+
60+
- name: enable KVM for linux runners
61+
if: runner.os == 'Linux'
62+
run: |
63+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
64+
sudo udevadm control --reload-rules
65+
sudo udevadm trigger --name-match=kvm
6566
6667
- name: run action
6768
uses: ./
6869
with:
6970
api-level: ${{ github.event.inputs.api-level }}
7071
target: ${{ github.event.inputs.target }}
7172
arch: ${{ github.event.inputs.arch }}
73+
system-image-api-level: ${{ github.event.inputs.system-image-api-level }}
7274
profile: Galaxy Nexus
7375
emulator-options: ${{ github.event.inputs.emulator-options }}
7476
emulator-build: ${{ github.event.inputs.emulator-build }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__tests__/runner/*
22

33
# comment out in distribution branches
4-
node_modules/
4+
# node_modules/
55

66
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
77
# Logs

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
No changes yet.
6+
7+
## v2.34.0
8+
9+
* Allow arbitrary value for `api-level` such as `Baklava` and `35-ext15`. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
10+
* Add option to specify `system-image-api-level` to use a system image with a different API level than the platform. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
11+
* Support automotive and desktop targets: `android-automotive`, `android-automotive-playstore`, `android-desktop`. - [428](https://github.com/ReactiveCircus/android-emulator-runner/pull/428)
12+
13+
## v2.33.0
14+
15+
* Fix missing AVD directory in `ubuntu-24.04` runner. - [415](https://github.com/ReactiveCircus/android-emulator-runner/pull/415)
16+
* Update SDK build tools to `35.0.0`, update SDK command-line tools to `16.0`. - [#356](https://github.com/ReactiveCircus/android-emulator-runner/pull/356)
17+
* Stop changing owner of the SDK directory. - [406](https://github.com/ReactiveCircus/android-emulator-runner/pull/406) [#409](https://github.com/ReactiveCircus/android-emulator-runner/pull/409)
18+
* Upgrade to latest npm dependencies. - [#401](https://github.com/ReactiveCircus/android-emulator-runner/pull/401)
19+
20+
## v2.32.0
21+
22+
* Add `port` parameter for customizing the emulator port to use. - [#383](https://github.com/ReactiveCircus/android-emulator-runner/pull/383)
23+
24+
25+
## v2.31.0
26+
27+
* Support setting `VanillaIceCream` as `api-level`. - [#378](https://github.com/ReactiveCircus/android-emulator-runner/pull/378)
28+
* Install `platforms` for the specified `api-level`. - [#384](https://github.com/ReactiveCircus/android-emulator-runner/pull/384)
29+
30+
## v2.30.1
31+
32+
* Run action on Node 20. - [#371](https://github.com/ReactiveCircus/android-emulator-runner/pull/371)
33+
34+
## v2.30.0
35+
36+
* Update to Node 20. - [#369](https://github.com/ReactiveCircus/android-emulator-runner/pull/369)
37+
38+
## v2.29.0
39+
40+
* Fixed emulator download URL. - [#343](https://github.com/ReactiveCircus/android-emulator-runner/pull/343)
41+
* Upgrade to latest npm dependencies. - [#347](https://github.com/ReactiveCircus/android-emulator-runner/pull/347) [#355](https://github.com/ReactiveCircus/android-emulator-runner/pull/355)
42+
* Update SDK command-line tools to `11.0`. - [#356](https://github.com/ReactiveCircus/android-emulator-runner/pull/356)
43+
* Update SDK build tools to `34.0.0`. - [#356](https://github.com/ReactiveCircus/android-emulator-runner/pull/356)
44+
45+
## v2.28.0
46+
47+
* Add `emulator-boot-timeout` to support configuring maximum time waiting for emulator boot. - [#326](https://github.com/ReactiveCircus/android-emulator-runner/pull/326)
48+
* Support non-integer `api-level`. - [#317](https://github.com/ReactiveCircus/android-emulator-runner/pull/317)
49+
* Replace deprecated `ANDROID_SDK_ROOT` with `ANDROID_HOME`. - [304](https://github.com/ReactiveCircus/android-emulator-runner/pull/304)
50+
* Update SDK command-line tools to `9.0`. - [#331](https://github.com/ReactiveCircus/android-emulator-runner/pull/331)
51+
* Update SDK build tools to `33.0.2`. - [#331](https://github.com/ReactiveCircus/android-emulator-runner/pull/331)
52+
353
## v2.27.0
454

555
* Added `pre-emulator-launch-script` to support running script after creating the AVD and before launching the emulator. - [#247](https://github.com/ReactiveCircus/android-emulator-runner/pull/247) @nilsreichardt.

0 commit comments

Comments
 (0)