Add linux_clang_tidy builder. (flutter/engine#41990)

This builder run android and host clang tidy in an engine v2 build.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
godofredoc
2023-05-16 09:37:36 -07:00
committed by GitHub
parent 259217c7aa
commit 530243affb
2 changed files with 102 additions and 0 deletions

View File

@@ -265,6 +265,14 @@ targets:
drone_dimensions:
- os=Linux
- name: Linux linux_clang_tidy
bringup: true
recipe: engine_v2/engine_v2
timeout: 60
properties:
release_build: "true"
config_name: linux_clang_tidy
- name: Linux linux_arm_host_engine
recipe: engine_v2/engine_v2
timeout: 60

View File

@@ -0,0 +1,94 @@
{
"builds": [
{
"archives": [],
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gn": [
"--android",
"--android-cpu",
"arm64",
"--no-lto"
],
"name": "android_debug_arm64",
"ninja": {
"config": "android_debug_arm64"
}
},
{
"archives": [],
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gn": [
"--runtime-mode",
"debug",
"--prebuilt-dart-sdk",
"--no-lto"
],
"name": "host_debug",
"ninja": {
"config": "host_debug"
}
}
],
"tests": [
{
"name": "test: lint host_debug",
"recipe": "engine_v2/tester_engine",
"drone_dimensions": [
"device_type=none",
"os=Linux",
"cores=32"
],
"gclient_variables": {
"download_android_deps": false
},
"dependencies": [
"host_debug",
"android_debug_arm64"
],
"tasks": [
{
"name": "test: lint host_debug",
"parameters": [
"--variant",
"host_debug",
"--lint-all",
"--shard-id=1",
"--shard-variants=android_debug_arm64"
],
"script": "flutter/ci/lint.sh"
}
]
},
{
"name": "test: lint android_debug_arm64",
"recipe": "engine_v2/tester_engine",
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"dependencies": [
"host_debug",
"android_debug_arm64"
],
"tasks": [
{
"name": "test: lint android_debug_arm64",
"parameters": [
"--variant",
"android_debug_arm64",
"--lint-all",
"--shard-id=0",
"--shard-variants=host_debug"
],
"script": "flutter/ci/lint.sh"
}
]
}
]
}