Skip to content

Commit

Permalink
Improve emulator performance
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Apr 4, 2024
1 parent 5254521 commit 241cc80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
os: ubuntu-latest
# - target: linuxX64Test
# os: ubuntu-latest
- target: pixel2api30DebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" --no-watch-fs --stacktrace
- target: nexusOneDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" --no-watch-fs --stacktrace
os: ubuntu-latest
- target: testReleaseUnitTest
os: ubuntu-latest
Expand Down
9 changes: 4 additions & 5 deletions library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@ android {
testOptions {
managedDevices {
localDevices {
create("pixel2api30") {
create("nexusOne") {
// Use device profiles you typically see in Android Studio.
device = "Pixel 2"
device = "Nexus One"
// Use only API levels 27 and higher.
apiLevel = 30
// To include Google services, use "google".
systemImageSource = "aosp"
apiLevel = 33
systemImageSource = "aosp-atd"
}
}
}
Expand Down

0 comments on commit 241cc80

Please sign in to comment.