Skip to content

Commit

Permalink
ci: remove avd creation from ubuntu-latest since vab installs one…
Browse files Browse the repository at this point in the history
… if missing when running tests
  • Loading branch information
larpon committed Sep 29, 2024
1 parent a35fe16 commit 95704b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci_emulator_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jobs:
run: |
vab install 'system-images;android-30;aosp_atd;x86_64'
- name: Create test AVD
run: |
# export ANDROID_SDK_ROOT="/usr/local/lib/android/sdk"
echo no | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/avdmanager create avd --force --name vab_emulator_tests --abi aosp_atd/x86_64 --package 'system-images;android-30;aosp_atd;x86_64'
- name: Run `vab test-all`
run: |
vab test-all
Expand Down
1 change: 0 additions & 1 deletion tests/at-runtime/emulator/emulator_test.vv
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ fn ensure_env() {
assert env.has_emulator() == true, 'These tests requires a working `emulator` installed'

// TODO: add env.has_system_image('android-XY','type','host-arch')
// TODO: add env.install_system_image('android-XY','type','host-arch') and/or `vab install 'system-images;android-30;aosp_atd;x86_64'`

avdmanager := env.avdmanager()
avdmanager_list_res := run([avdmanager, 'list', 'avd', '-c'])
Expand Down

0 comments on commit 95704b4

Please sign in to comment.