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:
@@ -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
|
||||
|
||||
94
engine/src/flutter/ci/builders/linux_clang_tidy.json
Normal file
94
engine/src/flutter/ci/builders/linux_clang_tidy.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user