Skip to content

Commit

Permalink
Linux fuchsia engine v2 config. (flutter#41759)
Browse files Browse the repository at this point in the history
Engine V2 configuration for fuchsia builds.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
  • Loading branch information
godofredoc authored May 8, 2023
1 parent ad382c1 commit d9184ce
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,14 @@ targets:
build_host: "true"
timeout: 90

- name: Linux linux_fuchsia
bringup: true
recipe: engine_v2/engine_v2
timeout: 60
properties:
release_build: "true"
config_name: linux_fuchsia

- name: Linux linux_arm_host_engine
recipe: engine_v2/engine_v2
timeout: 60
Expand Down
205 changes: 205 additions & 0 deletions ci/builders/linux_fuchsia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
{
"builds": [
{
"archives": [],
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"arm64",
"--runtime-mode",
"profile"
],
"name": "fuchsia_profile_arm64",
"ninja": {
"config": "fuchsia_profile_arm64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia"
]
}
},
{
"archives": [],
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"arm64",
"--runtime-mode",
"release"
],
"name": "fuchsia_release_arm64",
"ninja": {
"config": "fuchsia_release_arm64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia"
]
}
},
{
"archives": [],
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"arm64",
"--runtime-mode",
"debug",
"--no-lto"
],
"name": "fuchsia_debug_arm64",
"ninja": {
"config": "fuchsia_debug_arm64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia",
"fuchsia_tests"
]
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"x64",
"--runtime-mode",
"profile"
],
"name": "fuchsia_profile_x64",
"ninja": {
"config": "fuchsia_profile_x64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia"
]
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"x64",
"--runtime-mode",
"release"
],
"name": "fuchsia_release_x64",
"ninja": {
"config": "fuchsia_release_x64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia"
]
}
},
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false
},
"gn": [
"--fuchsia",
"--fuchsia-cpu",
"x64",
"--runtime-mode",
"debug",
"--no-lto"
],
"name": "fuchsia_debug_x64",
"ninja": {
"config": "fuchsia_debug_x64",
"targets": [
"flutter/shell/platform/fuchsia:fuchsia",
"fuchsia_tests"
]
}
}
],
"generators": {
"tasks": [
{
"name": "Upload fuchsia artifacts",
"parameters": [
"--engine-version",
"HEAD",
"--skip-build"
],
"script": "flutter/tools/fuchsia/build_fuchsia_artifacts.py",
"language": "python3"
},
{
"name": "Upload to CIPD for arch: arm64",
"parameters": [
"--engine-version",
"HEAD",
"--target-arch",
"arm64",
"--out-dir",
"/b/s/w/ir/x/w/recipe_cleanup/tmppqs4ecj7",
"--symbol-dirs",
"out/fuchsia_debug_arm64/.build-id",
"out/fuchsia_profile_arm64/.build-id",
"out/fuchsia_release_arm64/.build-id"
],
"script": "flutter/tools/fuchsia/merge_and_upload_debug_symbols.py",
"language": "python3"
},
{
"name": "Upload to CIPD for arch: x64",
"parameters": [
"--engine-version",
"HEAD",
"--target-arch",
"x64",
"--out-dir",
"/b/s/w/ir/x/w/recipe_cleanup/tmppqs4ecj7",
"--symbol-dirs",
"out/fuchsia_debug_x64/.build-id",
"out/fuchsia_profile_x64/.build-id",
"out/fuchsia_release_x64/.build-id"
],
"script": "flutter/tools/fuchsia/merge_and_upload_debug_symbols.py",
"language": "python3"
},
{
"name": "Verify-export-symbols-release-binaries",
"parameters": [
"src/out"
],
"script": "flutter/testing/symbols/verify_exported.dart",
"language": "dart"
}
]
}
}

0 comments on commit d9184ce

Please sign in to comment.