Skip to content

Commit

Permalink
Merge pull request #49
Browse files Browse the repository at this point in the history
refactor: add gradle parameter required for gradle managed device
  • Loading branch information
ImaginativeShohag authored Dec 20, 2024
2 parents 2dfccea + a4b4121 commit fea641a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-beta-upload-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Setup GMD
run: ./gradlew :benchmarks:pixel6Api35Setup
--info
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"

- name: Generate baseline profile
run: ./gradlew :app:generateBaselineProfile
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build-production-upload-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,19 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Setup GMD
run: ./gradlew :benchmarks:pixel6Api35Setup
--info
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"

- name: Generate baseline profile
run: ./gradlew :app:generateBaselineProfile
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
-Pandroid.experimental.androidTest.numManagedDeviceShards=1
-Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1
-Pandroid.experimental.testOptions.managedDevices.setupTimeoutMinutes=5

- name: Build & deploy Android release
run: bundle exec fastlane android deploy
Expand Down

0 comments on commit fea641a

Please sign in to comment.