Skip to content

Plugin config changes #10

Plugin config changes

Plugin config changes #10

name: Verify Baseline Profile
on:
push
jobs:
build-benchmark-apks:
name: Build Benchmark and App APKs
runs-on: macos-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Build benchmark apk
run: ./gradlew :benchmark:assembleBenchmark
- name: Build app apk
run: ./gradlew :sample:assembleBenchmark
- name: Authenticate GCloud
run: |
GCLOUD_DIR="$HOME/.config/gcloud/"
mkdir -p "$HOME/.config/gcloud/"
echo "${{ vars.GCLOUD_KEY }}" | base64 --decode > "$GCLOUD_DIR/application_default_credentials.json"
- name: Verify baseline profile
run: ./gradlew :sample:runBenchmarkAndVerifyProfile