Workflow changes #9
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: 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 |