Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Add linux_clang_tidy builder. #41990

Merged
merged 5 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ targets:
release_build: "true"
config_name: linux_fuchsia

- 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
Expand Down
94 changes: 94 additions & 0 deletions ci/builders/linux_clang_tidy.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}