Skip to content

Commit

Permalink
Remove unneded steps from nightly baseline profile creation
Browse files Browse the repository at this point in the history
Change-Id: I3255f044dbd8a3a79f886871a1850b5f88bbd9a1
  • Loading branch information
keyboardsurfer committed Apr 19, 2024
1 parent bbb60b5 commit 8b89386
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 161 deletions.
161 changes: 0 additions & 161 deletions .github/workflows/Nightly.yaml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/NightlyBaselineProfiles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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

# Replace task exclusions with `-Pandroidx.baselineprofile.skipgeneration` when
# https://android-review.googlesource.com/c/platform/frameworks/support/+/2602790 landed in a
# release build
- 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

0 comments on commit 8b89386

Please sign in to comment.