Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[ci] Fix and standardize target/task names #4323

Merged
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
12 changes: 6 additions & 6 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ targets:
]
scheduler: luci

- name: Windows win32_build+platform-tests master
- name: Windows win32-platform_tests master
recipe: plugins/plugins
bringup: true
timeout: 30
Expand All @@ -76,22 +76,22 @@ targets:
]
scheduler: luci

- name: Windows win32_build+platform-tests stable
- name: Windows win32-platform_tests stable
recipe: plugins/plugins
bringup: true
timeout: 30
properties:
# TODO(stuartmorgan): Uncomment when removing bringup.
#add_recipes_cq: "true"
target_file: uwp_build_and_platform_tests.yaml
target_file: windows_build_and_platform_tests.yaml
channel: stable
dependencies: >
[
{"dependency": "vs_build"}
]
scheduler: luci

- name: Windows build_all_plugins master
- name: Windows windows-build_all_plugins master
recipe: plugins/plugins
bringup: true
timeout: 30
Expand All @@ -105,7 +105,7 @@ targets:
]
scheduler: luci

- name: Windows build_all_plugins stable
- name: Windows windows-build_all_plugins stable
recipe: plugins/plugins
bringup: true
timeout: 30
Expand All @@ -120,7 +120,7 @@ targets:
]
scheduler: luci

- name: Windows uwp-build+platform-tests master
- name: Windows uwp-platform_tests master
recipe: plugins/plugins
bringup: true
timeout: 30
Expand Down
26 changes: 13 additions & 13 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ task:
namespace: default
matrix:
### Platform-agnostic tasks ###
- name: plugin_tools_tests
- name: Linux plugin_tools_tests
script:
- cd script/tool
- dart pub run test
Expand All @@ -74,7 +74,7 @@ task:
format_script: ./script/tool_runner.sh format --fail-on-change
pubspec_script: ./script/tool_runner.sh pubspec-check
license_script: dart $PLUGIN_TOOL license-check
- name: test
- name: dart_unit_tests
env:
matrix:
CHANNEL: "master"
Expand All @@ -94,23 +94,23 @@ task:
# See the comment in script/configs/custom_analysis.yaml for details.
- ./script/tool_runner.sh analyze --custom-analysis=script/configs/custom_analysis.yaml
### Android tasks ###
- name: build_all_plugins_apk
- name: android-build_all_plugins
env:
BUILD_ALL_ARGS: "apk"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
### Web tasks ###
- name: build_all_plugins_web
- name: web-build_all_plugins
env:
BUILD_ALL_ARGS: "web"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
### Linux desktop tasks ###
- name: build_all_plugins_linux
- name: linux-build_all_plugins
env:
BUILD_ALL_ARGS: "linux"
matrix:
Expand All @@ -119,7 +119,7 @@ task:
setup_script:
- flutter config --enable-linux-desktop
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
- name: linux-build+platform-tests
- name: linux-platform_tests
env:
matrix:
CHANNEL: "master"
Expand Down Expand Up @@ -148,7 +148,7 @@ task:
memory: 12G
matrix:
### Android tasks ###
- name: android-build+platform-tests
- name: android-platform_tests
env:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4"
Expand Down Expand Up @@ -202,7 +202,7 @@ task:
type: text/xml
format: android-lint
### Web tasks ###
- name: web-build+platform-tests
- name: web-platform_tests
env:
matrix:
CHANNEL: "master"
Expand All @@ -224,18 +224,18 @@ task:
<< : *FLUTTER_UPGRADE_TEMPLATE
matrix:
### iOS+macOS tasks ***
- name: lint_darwin_plugins
- name: darwin-lint_podspecs
script:
- ./script/tool_runner.sh podspecs
### iOS tasks ###
- name: build_all_plugins_ipa
- name: ios-build_all_plugins
env:
BUILD_ALL_ARGS: "ios --no-codesign"
matrix:
CHANNEL: "master"
CHANNEL: "stable"
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
- name: ios-build+platform-tests
- name: ios-platform_tests
env:
PATH: $PATH:/usr/local/bin
matrix:
Expand All @@ -262,7 +262,7 @@ task:
# So we run `drive-examples` after `native-test`; changing the order will result ci failure.
- ./script/tool_runner.sh drive-examples --ios --exclude=script/configs/exclude_integration_ios.yaml
### macOS desktop tasks ###
- name: build_all_plugins_macos
- name: macos-build_all_plugins
env:
BUILD_ALL_ARGS: "macos"
matrix:
Expand All @@ -271,7 +271,7 @@ task:
setup_script:
- flutter config --enable-macos-desktop
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
- name: macos-build+platform-tests
- name: macos-platform_tests
env:
matrix:
CHANNEL: "master"
Expand Down