Ben Weiss
866af74455
Revert "Feature / Added baseline and startup profile generation ( #1752 )"
...
This reverts commit 8f196e18a7
.
8 months ago
Simon Marquis
180b2cc639
Disable Release workflow on forks
9 months ago
Simon Marquis
9ea1c7a490
Disable NightlyBaselineProfiles workflow on forks
9 months ago
Don Turner
c03f436dcc
Merge pull request #1772 from SimonMarquis/gradle-configuration-cache
...
Gradle Configuration Cache on CI
9 months ago
Don Turner
9a70c5d8cd
Merge pull request #1771 from SimonMarquis/patch-2
...
Fix CI workflow OOM
9 months ago
Simon Marquis
e0d9281cc5
Remove unnecessary steps
9 months ago
Simon Marquis
4847b91cec
Remove last bits of GMD requirements from regular build workflow
...
The removal was initiated in:
- https://github.com/android/nowinandroid/pull/1757
9 months ago
Simon Marquis
700d570ff1
Gradle Configuration Cache on CI
...
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:secrets
And enable parallel Configuration Cache:
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel
This needs a `GRADLE_ENCRYPTION_KEY` secret to be configured in the repository [settings/secrets/actions](https://github.com/android/nowinandroid/settings/secrets/actions ), otherwise no configuration cache will be saved or restored.
As explained in the docs, you can use this tool to generate a configuration-cache compatible key: `openssl rand -base64 16`.
9 months ago
Simon Marquis
69b77cf783
Update NightlyBaselineProfiles.yaml
9 months ago
Simon Marquis
30ae078404
Fix CI workflow OOM
...
Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist.
Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting.
Fixes #1769
9 months ago
Don Turner
49f879a167
Merge pull request #1763 from SimonMarquis/patch-3
...
Remove default (and deprecated) `gradle-setup` parameters
9 months ago
Simon Marquis
9fbabc0985
Remove default (and deprecated) `gradle-setup` parameters
...
- https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md#the-gradle-home-cache-cleanup-input-parameter-has-been-replaced-by-cache-cleanup
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#gradle-wrapper-validation
9 months ago
Simon Marquis
0d6989b059
Check presence of sarif files before executing `codeql-action/upload-sarif`
...
because the action behavior is to throw errors when no sarif files are available...
Closes #1759
9 months ago
Mohsen Rezania
e300425836
Feature / Added baseline and startup profile generation ( #1752 )
...
* Added baseline and startup profile generation and push in NightlyBaselineProfiles.yaml
* Removed extra jobs
9 months ago
Don Turner
bf7aa1a01e
Remove benchmarks from Build workflow
9 months ago
Ben Weiss
c0472035d3
Remove GMD from regular build
...
Change-Id: Id63af908823a6bef576ebc35f65833847bacc5c4
9 months ago
Simon Marquis
a56b391504
Add missing `security-events: write` permission
...
Required by codeql-action: https://github.com/github/codeql-action/tree/main?tab=readme-ov-file#workflow-permissions
9 months ago
Don Turner
921b51c372
Merge pull request #921 from SimonMarquis/sarif
...
Enable SARIF support on GitHub Actions
9 months ago
Jaehwa Noh
cacfd03f39
Replace github action `always` into `!cancelled`. ( #1440 )
...
* Replace method always into cancelled.
Change-Id: I6518ce38a6640d42b9089e264c529ddaf75766b8
* Remove redundant if state.
9 months ago
Don Turner
f247b5e845
Merge pull request #1725 from android/dt/add-api34emu
...
Add API 34 emulator
9 months ago
Jaehwa Noh
1ad0df4dd6
Add clear instruction at CI screenshot tests error output ( #1423 )
...
* Add clear instruction
- Your fork's CI will take screenshots for your fork.
Change-Id: I7ea1a437be4f9723fcf71d4d18932f8f44f46fa8
* Remove screenshots to see CI instruction.
Change-Id: Ib12f0ee4ff4faff8287f9ddfd5e533868abca4f8
* Revert "Remove screenshots to see CI instruction."
This reverts commit 36de3be9ba
.
9 months ago
Simon Marquis
524d01bdcd
Merge remote-tracking branch 'upstream/main' into sarif
9 months ago
Don Turner
86c2adbcde
Add API 34 emulator
9 months ago
Don Turner
b9b9a36ca6
Removing API 30 emulator while investigating flakiness
9 months ago
Simon Marquis
c311cf354a
Bump `github/codeql-action/upload-sarif@v3`
9 months ago
Simon Marquis
942b0e83c8
Merge branch 'main' into sarif
9 months ago
dependabot[bot]
7463bb9353
Bump madrapps/jacoco-report from 1.7.0 to 1.7.1 ( #1627 )
...
Bumps [madrapps/jacoco-report](https://github.com/madrapps/jacoco-report ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/madrapps/jacoco-report/releases )
- [Commits](https://github.com/madrapps/jacoco-report/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: madrapps/jacoco-report
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Simon Marquis
135a5563bc
Fix Gradle setup action
12 months ago
Ben Weiss
caaa113b5c
Add missing steps to Nightly BP generation ( #1639 )
12 months ago
Ben Weiss
9356624bb8
Nightly builds with baseline profiles ( #1173 )
...
* Overall build
* Enable nightly builds
* Enable Startup Profile generation for release builds
* Skip BP generation for regular Builds
* Test baseline profiles for all variants
* Cleanup
* Remove stale baseline-prof.txt
* Add generated profiles to .gitignore
* GMD
* Setup GMD in separate step
* Add GMD setup to all workflows
* Lower GMD specs
* Update GMD and Android SDK setup
* Add options test options for GMD startup
* Ensure only one device is used for bp / benchmark
* Apply guidance from issuetracker b/287312019
* Add new metrics for baseline profile measurement
Added custom metrics to better understand how effective a baseline
profile is. These TraceSectionMetrics keep track of JIT compilations
as well as class initializations which should go down when a BP is
properly applied to the app.
1 year ago
Don Turner
85eb289101
Merge pull request #1561 from android/dependabot/github_actions/gradle/actions-4
...
Bump gradle/actions from 3 to 4
1 year ago
dependabot[bot]
4d674baed9
Bump madrapps/jacoco-report from 1.6.1 to 1.7.0
...
Bumps [madrapps/jacoco-report](https://github.com/madrapps/jacoco-report ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/madrapps/jacoco-report/releases )
- [Commits](https://github.com/madrapps/jacoco-report/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: madrapps/jacoco-report
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
8fdd04bed3
Bump gradle/actions from 3 to 4
...
Bumps [gradle/actions](https://github.com/gradle/actions ) from 3 to 4.
- [Release notes](https://github.com/gradle/actions/releases )
- [Commits](https://github.com/gradle/actions/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: gradle/actions
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Don Turner
b43012585b
Merge branch 'main' into gradle-actions
1 year ago
Don Turner
9d7360d3f6
Merge pull request #1378 from android/dependabot/github_actions/gradle/wrapper-validation-action-3
...
Bump gradle/wrapper-validation-action from 2 to 3
1 year ago
Jose Alcérreca
be2dd57af2
Fixes flakiness in app's screenshot tests ( #1395 )
...
* Disables WM init in app's screenshot tests
Change-Id: Ib0994e744f49b53f58c0eebd52f80c0eba67bbed
* Spotless
Change-Id: Ic0212889354481433ce45ec4292ae7be9bd24b2e
* [CI] Uploads roborazzi reports if they fail
Change-Id: I5a25a7e156d3fcb72a396d3b503e62068a20b417
* Uses unused test module and enables LocalInspection
Change-Id: Iac36347dc3d702248d7515a74823e0bc0cbf2a2b
* Fixes timezone in snackbar screenshot tests
Change-Id: Ic517e8822218abeaddd3f8d2740b03e651d72d31
* Fixes conflict
Change-Id: Ia42fb78781d2469a608183594fc25c7c69f7e76c
* 🤖 Updates screenshots
1 year ago
Simon Marquis
1f361ac5b8
Configure `validate-wrappers: true` with `gradle/actions/setup-gradle`
1 year ago
Simon Marquis
b706eb072d
Fix typo
1 year ago
Simon Marquis
64ff972bd2
Migrate legacy Gradle actions to the new official `gradle/actions`
1 year ago
dependabot[bot]
9850e68037
Bump gradle/wrapper-validation-action from 2 to 3
...
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action ) from 2 to 3.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases )
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Jose Alcérreca
7d39d7394e
Sets up jacoco coverage with a combined report and a GHA ( #1303 )
...
* Uses jacoco coverage reporting in AGP
2 years ago
dependabot[bot]
75cfcd3dc4
Bump gradle/wrapper-validation-action from 1 to 2
...
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action ) from 1 to 2.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases )
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Don Turner
0505e608f5
Merge pull request #1184 from android/dependabot/github_actions/gradle/gradle-build-action-3
...
Bump gradle/gradle-build-action from 2 to 3
2 years ago
Jose Alcérreca
17ce9b19c7
[CI] Adds free-disk-space action to fix CI ( #1219 )
...
* [CI] Adds free-disk-space action to fix CI
2 years ago
Ben Weiss
ef9f7d67a5
Remove legacy benchmark build type ( #1207 )
...
* Remove legacy benchmark build type
Now that we have the baseline profile gradle plugin,
there is no need for a benchmark build type.
The plugin does the setup and configuration and runs against the
correct app flavor.
* Remove explicit benchmark build type from benchmark module
* Remove stale build task exclusions
* Fix tracing import location
FYI @mlykotom
2 years ago
Jonathan Koren
9102a62e75
Fix name and message of dependency guard actions ( #1196 )
...
Change-Id: I9f4c51036f8322302653287db508a76415801a56
2 years ago
Jonathan Koren
230cc95e5f
Run dependencyGuard task during CI ( #1064 )
...
* Run dependencyGuard task during CI
Run the `dependencyGuard` task during CI, which will fail if there are
detected changes.
Change-Id: If5f2b18a4c765bd38a3353df2adaaa91cf1739c3
* Add actions to update dependency guard baselines
* Update baselines
* Better glob for update baselines action
2 years ago
dependabot[bot]
c6c2b03e40
Bump gradle/gradle-build-action from 2 to 3
...
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Alex Vanyo
1e0792558e
Enable KVM on base Linux image
...
Change-Id: Id653fae78712a878a978ef731235e76a5288c1e8
2 years ago
Don Turner
38e8d7f04c
Merge pull request #1098 from android/dependabot/github_actions/actions/upload-artifact-4
...
Bump actions/upload-artifact from 3 to 4
2 years ago