-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[ci] Introduce LUCI versions of Linux desktop platform tests #4223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
f156168
732078c
017613a
ccf52b0
fffedc3
53e5446
426f9c8
207ac5f
f204496
7113423
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,18 @@ platform_properties: | |
| linux: | ||
| properties: | ||
| os: Linux | ||
| linux_desktop: | ||
| properties: | ||
| os: Ubuntu | ||
| cores: "8" | ||
| device_type: none | ||
| dependencies: >- | ||
| [ | ||
| {"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"}, | ||
| {"dependency": "cmake", "version": "build_id:8787856497187628321"}, | ||
| {"dependency": "ninja", "version": "version:1.9.0"}, | ||
| {"dependency": "curl", "version": "version:7.64.0"} | ||
| ] | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are copied from the flutter/flutter dependencies list of the desktop tests. In flutter/flutter these are on targets, not in platform_properties, but since we'll need these in several tests I put them in a new configuration up here instead. Is that the right way to do it? Is there best practice/guidance on when to do configs vs duplicating in targets?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the preferred way to go. Define any shared properties in platform level if all tests need. If some specific test needs an extra property, then add that to the target level. |
||
| windows: | ||
| properties: | ||
| dependencies: > | ||
|
|
@@ -48,7 +60,7 @@ platform_properties: | |
| } | ||
|
|
||
| targets: | ||
| ### Linux tasks ### | ||
| ### Linux-host tasks ### | ||
| - name: Linux repo_tools_tests | ||
| recipe: packages/packages | ||
| timeout: 30 | ||
|
|
@@ -58,6 +70,44 @@ targets: | |
| channel: master | ||
| version_file: flutter_master.version | ||
|
|
||
| ### Linux desktop tasks | ||
| - name: Linux_desktop build_all_packages master | ||
| bringup: true # New target | ||
| recipe: packages/packages | ||
| timeout: 30 | ||
| properties: | ||
| version_file: flutter_master.version | ||
| target_file: linux_build_all_packages.yaml | ||
| channel: master | ||
|
|
||
| - name: Linux_desktop build_all_packages stable | ||
| bringup: true # New target | ||
| recipe: packages/packages | ||
| timeout: 30 | ||
| properties: | ||
| version_file: flutter_stable.version | ||
| target_file: linux_build_all_packages.yaml | ||
| channel: stable | ||
|
|
||
| - name: Linux_desktop platform_tests master | ||
| bringup: true # New target | ||
| recipe: packages/packages | ||
| timeout: 30 | ||
| properties: | ||
| version_file: flutter_master.version | ||
| target_file: linux_platform_tests.yaml | ||
| channel: master | ||
|
|
||
| - name: Linux_desktop platform_tests stable | ||
| bringup: true # New target | ||
| recipe: packages/packages | ||
| presubmit: false | ||
| timeout: 30 | ||
| properties: | ||
| version_file: flutter_stable.version | ||
| target_file: linux_platform_tests.yaml | ||
| channel: stable | ||
|
|
||
| ### iOS+macOS tasks ### | ||
| # TODO(stuartmorgan): Move this to ARM once google_maps_flutter has ARM | ||
| # support. `pod lint` makes a synthetic target that doesn't respect the | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| tasks: | ||
| - name: prepare tool | ||
| script: .ci/scripts/prepare_tool.sh | ||
| - name: create all_packages app | ||
| script: .ci/scripts/create_all_packages_app.sh | ||
| - name: build all_packages for Linux debug | ||
| script: .ci/scripts/build_all_packages_app.sh | ||
| args: ["linux", "debug"] | ||
| - name: build all_packages for Linux release | ||
| script: .ci/scripts/build_all_packages_app.sh | ||
| args: ["linux", "release"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| tasks: | ||
| - name: prepare tool | ||
| script: .ci/scripts/prepare_tool.sh | ||
| - name: build examples | ||
| script: script/tool_runner.sh | ||
| args: ["build-examples", "--linux"] | ||
| - name: native test | ||
| script: script/tool_runner.sh | ||
| args: ["native-test", "--linux"] | ||
| - name: drive examples | ||
| script: script/tool_runner.sh | ||
| args: ["drive-examples", "--linux", "--exclude=script/configs/exclude_integration_linux.yaml"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These three lines are copied from the config that seems to be running these tests in flutter/flutter.