baseline profile ci test #1557
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
- name: Check LFS file (install git lfs and commit screenshots again if failing) | |
run: git lfs fsck --pointers | |
- name: set up JDK 18 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 18 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Accept Licences | |
run: echo y | sdkmanager --licenses | |
- name: Generate Baseline Profile | |
run: ./gradlew :catalog:generateReleaseBaselineProfile :icons:generateBaselineProfile :illustrations:generateBaselineProfile :ui:generateBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect --stacktrace |