Skip to content

Commit

Permalink
Update GMD and Android SDK setup
Browse files Browse the repository at this point in the history
Change-Id: I85f431fa4ceb73be87cba997eb8808961d4197cd
  • Loading branch information
keyboardsurfer committed Sep 10, 2024
1 parent 8f59cdf commit 3efe586
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ jobs:
validate-wrappers: true
gradle-home-cache-cleanup: true

- name: Accept Android licenses
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true
- name: Setup Android SDK
uses: android-actions/setup-android@v3
run: yes | sdkmanager --licenses || true

- name: Setup AVD for GMD use
run: yes | sdkmanager "system-images;android-30;aosp_atd;x86 AOSP ATD Intel x86 Atom System Image" || true

- name: Install GMD image for baseline profile generation
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager "system-images;android-30;aosp_atd;x86"

- name: Build release variant including baseline profile generation
run: ./gradlew :app:assembleDemoRelease
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
Expand Down

0 comments on commit 3efe586

Please sign in to comment.