Skip to content

Commit 454e6a4

Browse files
[ci] Introduce LUCI version of Linux build-all-packages tests (flutter#4229)
Adds a desktop Linux platform configuration, and a LUCI version of the Linux desktop build-all test. Split from flutter/packages#4223 Part of flutter#114373
1 parent 08ab0af commit 454e6a4

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.ci.yaml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ platform_properties:
1212
linux:
1313
properties:
1414
os: Linux
15+
linux_desktop:
16+
properties:
17+
os: Ubuntu
18+
cores: "8"
19+
device_type: none
20+
dependencies: >-
21+
[
22+
{"dependency": "clang", "version": "git_revision:5d5aba78dbbee75508f01bcaa69aedb2ab79065a"},
23+
{"dependency": "cmake", "version": "build_id:8787856497187628321"},
24+
{"dependency": "ninja", "version": "version:1.9.0"},
25+
{"dependency": "curl", "version": "version:7.64.0"}
26+
]
1527
windows:
1628
properties:
1729
dependencies: >
@@ -48,7 +60,7 @@ platform_properties:
4860
}
4961
5062
targets:
51-
### Linux tasks ###
63+
### Linux-host tasks ###
5264
- name: Linux repo_tools_tests
5365
recipe: packages/packages
5466
timeout: 30
@@ -58,6 +70,25 @@ targets:
5870
channel: master
5971
version_file: flutter_master.version
6072

73+
### Linux desktop tasks
74+
- name: Linux_desktop build_all_packages master
75+
bringup: true # New target
76+
recipe: packages/packages
77+
timeout: 30
78+
properties:
79+
version_file: flutter_master.version
80+
target_file: linux_build_all_packages.yaml
81+
channel: master
82+
83+
- name: Linux_desktop build_all_packages stable
84+
bringup: true # New target
85+
recipe: packages/packages
86+
timeout: 30
87+
properties:
88+
version_file: flutter_stable.version
89+
target_file: linux_build_all_packages.yaml
90+
channel: stable
91+
6192
### iOS+macOS tasks ###
6293
# TODO(stuartmorgan): Move this to ARM once google_maps_flutter has ARM
6394
# support. `pod lint` makes a synthetic target that doesn't respect the
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: create all_packages app
5+
script: .ci/scripts/create_all_packages_app.sh
6+
- name: build all_packages for Linux debug
7+
script: .ci/scripts/build_all_packages_app.sh
8+
args: ["linux", "debug"]
9+
- name: build all_packages for Linux release
10+
script: .ci/scripts/build_all_packages_app.sh
11+
args: ["linux", "release"]

0 commit comments

Comments
 (0)