Ben Weiss
c01a129e4a
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.
3 months ago
Don Turner
a636a16db9
Merge pull request #1561 from android/dependabot/github_actions/gradle/actions-4
...
Bump gradle/actions from 3 to 4
4 months ago
dependabot[bot]
32893a837d
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>
4 months ago
dependabot[bot]
73a938c2cb
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>
5 months ago
Don Turner
c37dd7da85
Merge pull request #1375 from SimonMarquis/gradle-actions
...
Migrate legacy Gradle actions to the new official `gradle/actions`
6 months ago
Simon Marquis
85129e4660
Kotlin 2.0.0 ( #1036 )
...
* 🚧 Kotlin 2.0.0-Beta4
* Testing useKSP2 useK2Uast
* KSP 2.0.0-Beta4-1.0.19
* Update lint 8.4.0-alpha13
* 2.0.0-Beta5
* Lint 8.5.0-alpha02
* Update libs.versions.toml
* Update libs.versions.toml
* 🤖 Updates baselines for Dependency Guard
* KSP `2.0.0-Beta5-1.0.20`
* 2.0.0-RC1
* lint 8.5.0-alpha06
* Kotlin 2.0.0-RC2
* Lint 8.5.0-alpha07
* Fix missing imports
* Migrate from deprecated `kotlinOptions` to `composeCompiler`
* Kotlin 2.0.0-RC3 and AGP 8.6.0-alpha01
* Kotlin 2.0.0 & KSP 2.0.0-1.0.21
* Add `.kotlin` directory to `.gitignore`
* Migrate from deprecated kotlinOptions to compilerOptions
* Restore main workflow
* Migrate from deprecated kotlinOptions to compilerOptions
* Restore relative directories for Compose compiler metrics & reports
---------
Co-authored-by: Don Turner <dturner@users.noreply.github.com>
7 months ago
Don Turner
6c4dbc56fd
Merge branch 'main' into gradle-actions
8 months ago
Don Turner
7c16da9961
Update pull_request_template.md
8 months ago
Don Turner
8a6572cffd
Made pull request instructions clearer
8 months ago
Don Turner
31b0cf4c63
Merge pull request #1378 from android/dependabot/github_actions/gradle/wrapper-validation-action-3
...
Bump gradle/wrapper-validation-action from 2 to 3
8 months ago
Jose Alcérreca
ead3f49f7b
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
8 months ago
Simon Marquis
be1a2b28e0
Configure `validate-wrappers: true` with `gradle/actions/setup-gradle`
8 months ago
Simon Marquis
44e673b52e
Fix typo
8 months ago
Simon Marquis
5470cf98ca
Migrate legacy Gradle actions to the new official `gradle/actions`
8 months ago
dependabot[bot]
c306ab756e
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>
8 months ago
Jose Alcérreca
240aa8acdf
Add testing section to pull_request_template.md ( #1341 )
9 months ago
Jose Alcérreca
78e3725f9f
Sets up jacoco coverage with a combined report and a GHA ( #1303 )
...
* Uses jacoco coverage reporting in AGP
9 months ago
dependabot[bot]
a96526a79b
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>
10 months ago
Don Turner
dd05d22c95
Merge pull request #1184 from android/dependabot/github_actions/gradle/gradle-build-action-3
...
Bump gradle/gradle-build-action from 2 to 3
10 months ago
Jose Alcérreca
dba36d694f
[CI] Adds free-disk-space action to fix CI ( #1219 )
...
* [CI] Adds free-disk-space action to fix CI
10 months ago
Ben Weiss
f64f1c0aa2
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
11 months ago
Jonathan Koren
96b554d6a2
Fix name and message of dependency guard actions ( #1196 )
...
Change-Id: I9f4c51036f8322302653287db508a76415801a56
11 months ago
Jonathan Koren
c1d6c88bb0
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
11 months ago
dependabot[bot]
20c8db6b0c
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>
11 months ago
Alex Vanyo
3d1550be45
Enable KVM on base Linux image
...
Change-Id: Id653fae78712a878a978ef731235e76a5288c1e8
11 months ago
Don Turner
c847866f6b
Merge pull request #1098 from android/dependabot/github_actions/actions/upload-artifact-4
...
Bump actions/upload-artifact from 3 to 4
1 year ago
Don Turner
3e64a1d2ce
Merge pull request #1084 from SimonMarquis/patch-2
...
Update max concurrent PRs for dependabot
1 year ago
Don Turner
c8c4ffba1f
Merge pull request #1073 from android/dependabot/github_actions/actions/setup-java-4
...
Bump actions/setup-java from 3 to 4
1 year ago
Don Turner
a49e901fb4
Don't run unit tests on prodDebug variant
...
Change-Id: I0adf6c70b9634de876aed64400a7d3b4033983b3
1 year ago
dependabot[bot]
f9a498caf6
Bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Simon Marquis
8d0a9bacd4
Update max concurrent PRs for dependabot
...
We currently have many pending updates that are not listed and the default 5 concurrent PRs is very limiting.
See documentation on https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit
1 year ago
Alex Vanyo
8a992996a4
Enable stricter validation for build-logic convention plugins
...
Change-Id: I1955393c76e91bebfe4b7e349734c81a10263c8c
1 year ago
dependabot[bot]
a96e0709d8
Bump actions/setup-java from 3 to 4
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Jonathan Koren
b39f3f33d8
Merge pull request #893 from SimonMarquis/dependabot
...
Enable dependabot updates on a weekly basis
1 year ago
Ben Weiss
aa8ce0e1f6
Add automated baseline profile generation ( #880 )
...
Baseline profile generation is disabled for the PR level Build task. Release tasks require a fresh baseline profile. A new profile is generated using the baseline profile Gradle plugin.
* Prepare for usage of dex layout optimizations which can be actively used once NiA switches to AGP 8.2+.
* Add GMD config to release build
* Switch to macos-latest
* Update names for StartupBenchmark tests to better reflect states
* Stable release and recent GMD device
* Reduce flakiness by adding wait to benchmark
* More convenient waiting for objects
* Rename junit dependency to androidx-junit
* Only run baseline profile benchmarks during GH workflow
* Enable automatic BP generation for only release builds
* Disable BP generation from Build workflow
* Specify modules and skip benchmarking Build workflow
Bug: b/299334172
1 year ago
Don Turner
f3b2655e2f
Merge pull request #933 from danysantiago/main
...
Update to Hilt 2.48 and use the KSP version
1 year ago
Daniel Santiago
c908f989c8
Update to Hilt 2.48.1 and use the KSP version
...
* Moved protobuf to separate module to avoid having to wire KSP's Plugin with the Protobuf Plugin.
* `@Binds` function cannot be an extension function.
* Commented `kotlin.compiler.execution.strategy=in-process` in CI to circumvent OOMs due to increased metaspace usage.
1 year ago
Jose Alcérreca
3f22248cb7
[CI] Better caching and fewer jobs run
...
* [CI] Runs build in macos to generate a cache for androidTest runs
* Build projects before running emulator
* Fixes flaky coroutines test
* Moves spotless up in local tests job
* Enables config cache by setting problems to warn. Fixes #1022
1 year ago
Don Turner
e695df3757
Revert "Apply spotless automatically during build and commit to PR"
1 year ago
Don Turner
58a1694334
Fix action name and version
...
Change-Id: I218dd886b3cc00ffdb05036892a11df3013198d8
1 year ago
Don Turner
be062d6c9e
Apply spotless automatically during build and commit back to PR
...
Change-Id: Id822a3179fe866ffe2bb63157e399003f1b3ae4d
1 year ago
Alex Vanyo
360b33eb82
Add automatic checks for badging
...
Change-Id: Ic8fca86d7aa84675fa91fb1aa99abcc6e19d663e
1 year ago
Don Turner
f2bc315eaf
Merge pull request #899 from SimonMarquis/lint-test-detector
...
Create `TestMethodDetector` Lint to detect common naming patterns we want to avoid
1 year ago
Don Turner
8ffffe5faf
Update pull request template
1 year ago
Don Turner
93032b9e3a
Fix for pull request template not being used. Fixes #769
1 year ago
Simon Marquis
78e55ed4ec
Add `:lint:test` task to CI builds
1 year ago
renovate[bot]
e25f98df6e
Update all dependencies
1 year ago
Don Turner
fe7de1cef9
Remove GMD from CI
...
Fixes #787
1 year ago
Don Turner
d2dea938fa
Update pull_request_template.md
...
Added requirement that PRs contain a description
1 year ago
Simon Marquis
7133de7faa
Remove `.github/renovate.json`
1 year ago