Skip to content

[ci] Add LUCI version of build-all for web #4232

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 17, 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
28 changes: 28 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ platform_properties:
{"dependency": "ninja", "version": "version:1.9.0"},
{"dependency": "curl", "version": "version:7.64.0"}
]
linux_web:
properties:
os: Ubuntu
cores: "8"
device_type: none
dependencies: >-
[
{"dependency": "chrome_and_driver", "version": "version:114.0"}
]
windows:
properties:
dependencies: >
Expand Down Expand Up @@ -70,6 +79,25 @@ targets:
channel: master
version_file: flutter_master.version

### Web tasks ###
- name: Linux_web web_build_all_packages master
bringup: true # New target
recipe: packages/packages
timeout: 30
properties:
version_file: flutter_master.version
target_file: web_build_all_packages.yaml
channel: master

- name: Linux_web web_build_all_packages stable
bringup: true # New target
recipe: packages/packages
timeout: 30
properties:
version_file: flutter_stable.version
target_file: web_build_all_packages.yaml
channel: stable

### Linux desktop tasks
- name: Linux_desktop build_all_packages master
bringup: true # New target
Expand Down
10 changes: 10 additions & 0 deletions .ci/targets/web_build_all_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: create all_packages app
script: .ci/scripts/create_all_packages_app.sh
# No debug version, unlike the other platforms, since web does not support
# debug builds.
- name: build all_packages app for Web release
script: .ci/scripts/build_all_packages_app.sh
args: ["web", "release"]