-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Plugin configuration change - Remove firebase Project ID config and add service account credential * Setup GitHub action for profile verification (#17) * CI setup to automate baseline profile - Add Github action workflow to trigger profile verification * Update dependency - Update macro-benchmark dependency * Update github workflow - Replace Java 11 setup with java 17 * Plugin config changes - Replace firebase project ID config with service account JSON config to support profile verification on CI * Plugin upgrade - Update AGP from 8.0.0 to 8.2.0 - Update compile SDK version from 33 to 34 * Workflow changes - Remove decoding json file and writing * Workflow changes - Inline the directory creation * Workflow changes - Change the run script within step * Workflow changes - Replace access of encoded service account from env to vars * Plugin config changes - Fix the service account JSON file path * Workflow changes - Add log for home path in GCloud authentication * Workflow changes - Update the service account JSON path for GCloud authentication * Plugin configuration change - Rename step to setup service account JSON * Workflow changes - Trigger workflow only on tag push * Workflow changes and version upgrade - Trigger profile verification workflow on pull request against release branch - Upgrade plugin version from 1.0.0-alpha01 to 1.0.0-alpha02 - Add CI setup details in the README
- Loading branch information
1 parent
2d7daf1
commit 24c2a09
Showing
11 changed files
with
67 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Verify Baseline Profile | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- release | ||
|
||
jobs: | ||
build-benchmark-apks: | ||
name: Build APKs and Run profile verification | ||
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: Setup GCloud Credentials for Flank | ||
run: | | ||
GCLOUD_DIR="$HOME/.config/gcloud/" | ||
mkdir -p "$GCLOUD_DIR" | ||
echo "${{ vars.GCLOUD_KEY }}" | base64 --decode > "$GCLOUD_DIR/application_default_credentials.json" | ||
- name: Verify baseline profile | ||
run: ./gradlew :sample:runBenchmarkAndVerifyProfile |
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
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
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
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
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
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
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
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
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
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