Skip to content

Commit

Permalink
Update Android emulator architecture to x86 and use smaller system image
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Jul 2, 2024
1 parent c7c4e9b commit 8fb380d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Disk Cleanup
run: |
sudo apt-get clean
df -h
- name: Enable KVM
run: |
mkdir -p /etc/udev/rules.d
Expand Down Expand Up @@ -155,7 +150,7 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
arch: x86_64
arch: x86
avd-name: ${{ steps.device-name.outputs.DEVICE_NAME }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
script: npm run detox:test:android:ci
Expand Down
3 changes: 2 additions & 1 deletion detox.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ module.exports = {
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_7_Pro_API_34'
// avdName: 'Pixel_7_Pro_API_34'
avdName: 'Pixel_API_21'
}
}
},
Expand Down

0 comments on commit 8fb380d

Please sign in to comment.