Skip to content

[ci] Introduce LUCI version of Linux build-all-packages tests #4229

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

Merged
merged 2 commits into from
Jun 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
33 changes: 32 additions & 1 deletion .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
]
windows:
properties:
dependencies: >
Expand Down Expand Up @@ -48,7 +60,7 @@ platform_properties:
}

targets:
### Linux tasks ###
### Linux-host tasks ###
- name: Linux repo_tools_tests
recipe: packages/packages
timeout: 30
Expand All @@ -58,6 +70,25 @@ 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

### 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
Expand Down
11 changes: 11 additions & 0 deletions .ci/targets/linux_build_all_packages.yaml
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"]