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

Bring up new Windows test targets #4311

Merged
merged 6 commits into from
Sep 8, 2021

Conversation

stuartmorgan
Copy link
Contributor

@stuartmorgan stuartmorgan commented Sep 3, 2021

Uses the new generic plugins recipe to add a number of new Windows tests
that have recently gained tool support, but not yet added to the LUCI
builds:

  • New targets:
    • The "build all plugins" test (master and stable)
    • UWP build tests (master only, since UWP is not on stable yet)
    • Tool tests (master only with existing tool tests on Linux)
    • Replacement versions of the existing builders but with names that
      match the Cirrus naming to make the parallels in testing easier
      to understand in the GitHub UI and configs.
  • Modification of existing targets:
    • Adds Windows native unit tests to the existing script.

All but the modification change are in bringup mode, so won't affect the repo until a follow-up
removes that flag.

Part of flutter/flutter#86113
Part of flutter/flutter#82729

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
  • All existing and new tests are passing.

Uses the new generic plugins recipe to add a number of new Windows tests
that have recently gained tool support, but not yet added to the LUCI
builds:
- New targets:
  - The "build all plugins" test (master and stable)
  - UWP build tests (master only, since UWP is not on stable yet)
  - Tool tests (master only with existing tool tests on Linux)
  - Replacement versions of the existing builders but with names that
    match the Cirrus naming to make the parallels in testing easier
    to understand in the GitHub UI and configs.
- Modification of existing targets:
  - Adds Windows native unit tests to the existing script.
.ci.yaml Outdated
@@ -60,6 +62,88 @@ targets:
]
scheduler: luci

- name: windows-build+platform-tests master

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target names must follow the format $platform $name

So Windows build+platform-tests master. I'll send a PR to update this in the CI_YAML.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

timeout: 30
properties:
# TODO(stuartmorgan): Uncomment when removing bringup.
#add_recipes_cq: "true"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? My expectation is this could land in this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not for this particular one since it's a copy-paste, but in general I would rather make sure a new target actually works in the wild before adding it to the recipe CQ since I really don't want to bring the recipes repo to a standstill by throwing untested things into its pipeline for landing changes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really good insight! I'll have to add it to the documentation (and later as a test)

tasks:
- name: "prepare tool"
script: .ci/scripts/prepare_tool.sh
- name: "build examples"
- name: "build examples (Win32)"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think these target yaml files need strings around the name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@stuartmorgan stuartmorgan merged commit 9848181 into flutter:master Sep 8, 2021
@stuartmorgan stuartmorgan deleted the windows-luci-bringup branch September 8, 2021 14:05
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 8, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 8, 2021
NickalasB added a commit to NickalasB/plugins that referenced this pull request Sep 8, 2021
* master:
  [ci] Fix and standardize target/task names (flutter#4323)
  Bring up new Windows test targets (flutter#4311)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 8, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 8, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 9, 2021
fotiDim pushed a commit to fotiDim/plugins that referenced this pull request Sep 13, 2021
Uses the new generic plugins recipe to add a number of new Windows tests
that have recently gained tool support, but not yet added to the LUCI
builds:
- New targets:
  - The "build all plugins" test (master and stable)
  - UWP build tests (master only, since UWP is not on stable yet)
  - Tool tests (master only with existing tool tests on Linux)
  - Replacement versions of the existing builders but with names that
    match the Cirrus naming to make the parallels in testing easier
    to understand in the GitHub UI and configs.
- Modification of existing targets:
  - Adds Windows native unit tests to the existing script.
amantoux pushed a commit to amantoux/plugins that referenced this pull request Sep 27, 2021
Uses the new generic plugins recipe to add a number of new Windows tests
that have recently gained tool support, but not yet added to the LUCI
builds:
- New targets:
  - The "build all plugins" test (master and stable)
  - UWP build tests (master only, since UWP is not on stable yet)
  - Tool tests (master only with existing tool tests on Linux)
  - Replacement versions of the existing builders but with names that
    match the Cirrus naming to make the parallels in testing easier
    to understand in the GitHub UI and configs.
- Modification of existing targets:
  - Adds Windows native unit tests to the existing script.
KyleFin pushed a commit to KyleFin/plugins that referenced this pull request Dec 21, 2021
Uses the new generic plugins recipe to add a number of new Windows tests
that have recently gained tool support, but not yet added to the LUCI
builds:
- New targets:
  - The "build all plugins" test (master and stable)
  - UWP build tests (master only, since UWP is not on stable yet)
  - Tool tests (master only with existing tool tests on Linux)
  - Replacement versions of the existing builders but with names that
    match the Cirrus naming to make the parallels in testing easier
    to understand in the GitHub UI and configs.
- Modification of existing targets:
  - Adds Windows native unit tests to the existing script.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants