NightlyBaselineProfiles #3
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: NightlyBaselineProfiles | |
on: | |
schedule: | |
- cron: '42 4 * * *' | |
jobs: | |
baseline_profiles: | |
name: "Generate Baseline Profiles" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup GMD | |
run: ./gradlew :benchmarks:pixel6Api33Setup | |
--info | |
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true | |
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" | |
- name: Build all build type and flavor permutations including baseline profiles | |
run: ./gradlew :app:assemble | |
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile | |
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" | |
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true |