Skip to content

Commit ed739ac

Browse files
[ci] Add LUCI version of build-all for web (flutter#4232)
Adds a new Linux_web configuration, and an initial test (build-all-packages) using it. This is the simplest web test since it doesn't actually run anything, so starting with this one as a foundation to test future web-based tests. Part of flutter#114373
1 parent 454e6a4 commit ed739ac

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.ci.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ platform_properties:
2424
{"dependency": "ninja", "version": "version:1.9.0"},
2525
{"dependency": "curl", "version": "version:7.64.0"}
2626
]
27+
linux_web:
28+
properties:
29+
os: Ubuntu
30+
cores: "8"
31+
device_type: none
32+
dependencies: >-
33+
[
34+
{"dependency": "chrome_and_driver", "version": "version:114.0"}
35+
]
2736
windows:
2837
properties:
2938
dependencies: >
@@ -70,6 +79,25 @@ targets:
7079
channel: master
7180
version_file: flutter_master.version
7281

82+
### Web tasks ###
83+
- name: Linux_web web_build_all_packages master
84+
bringup: true # New target
85+
recipe: packages/packages
86+
timeout: 30
87+
properties:
88+
version_file: flutter_master.version
89+
target_file: web_build_all_packages.yaml
90+
channel: master
91+
92+
- name: Linux_web web_build_all_packages stable
93+
bringup: true # New target
94+
recipe: packages/packages
95+
timeout: 30
96+
properties:
97+
version_file: flutter_stable.version
98+
target_file: web_build_all_packages.yaml
99+
channel: stable
100+
73101
### Linux desktop tasks
74102
- name: Linux_desktop build_all_packages master
75103
bringup: true # New target
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
# No debug version, unlike the other platforms, since web does not support
7+
# debug builds.
8+
- name: build all_packages app for Web release
9+
script: .ci/scripts/build_all_packages_app.sh
10+
args: ["web", "release"]

0 commit comments

Comments
 (0)