Skip to content

Commit

Permalink
ci: disable emulator metrics explicitly (#243)
Browse files Browse the repository at this point in the history
Fixes this warning

```
  ##                        WARNING - ACTION REQUIRED                         ##
  ##  Consider using the '-metrics-collection' flag to help improve the       ##
  ##  emulator by sending anonymized usage data. Or use the '-no-metrics'     ##
  ##  flag to bypass this warning and turn off the metrics collection.        ##
  ##  In a future release this warning will turn into a one-time blocking     ##
  ##  prompt to ask for explicit user input regarding metrics collection.     ##
  ##                                                                          ##
  ##  Please see '-help-metrics-collection' for more details. You can use     ##
  ##  '-metrics-to-file' or '-metrics-to-console' flags to see what type of   ##
  ##  data is being collected by emulator as part of usage statistics.        ##
  ##############################################################################
```
  • Loading branch information
ashishb committed Apr 11, 2024
1 parent 2a0af62 commit b791a54
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -72,7 +72,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api25.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/adbe-unittests-api28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -60,7 +60,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api30.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
arch: ${{ matrix.arch }}
target: ${{ matrix.target }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -67,7 +67,7 @@ jobs:
arch: ${{ matrix.arch }}
target: ${{ matrix.target }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
script: |
python3 -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adbe-unittests-api31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
arch: ${{ matrix.arch }}
target: ${{ matrix.target }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

Expand All @@ -67,7 +67,7 @@ jobs:
arch: ${{ matrix.arch }}
target: ${{ matrix.target }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
script: |
python3 -m pip install --upgrade pip
Expand Down

0 comments on commit b791a54

Please sign in to comment.