-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Streamline CI setup, and reenable macOS credits #3697
Conversation
@jmagman FYI, since this is relevant to compute credit discussions. |
I also remember thinking this was pointless in 2019: A bunch of stuff failed then, though I can't remember the details at all. And there's no info in the PRs that introduced this. If it works it makes sense though. Sorry I don't remember more. |
1fff650
to
07a13ed
Compare
@jmagman Thanks for the Cirrus-fu pointers! This is much cleaner, and seem to be working as intended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if removing the extra channel change works.
.cirrus.yml
Outdated
build_script: | ||
- flutter channel $CHANNEL | ||
- ./script/incremental_build.sh build-examples --linux | ||
- xvfb-run ./script/incremental_build.sh drive-examples --linux | ||
|
||
task: | ||
# Xcode 12 task |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind removing this comment while you're here? I should have removed it with #3653.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
cpu: 4 | ||
memory: 12G |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might have to play with this if you start seeing OOM failures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I figured this was safe since I wasn't seeing it going above 10 in general, but we can certainly adjust it back up if necessary.
* master: (49 commits) Prep for alignment with Flutter analysis options (flutter#3703) [google_maps_flutter_platform_interface] Mark constructors as const for ids (flutter#3718) [image_picker] Endorse image_picker_for_web (flutter#3717) Add missing licenses, and add a check (flutter#3720) [ci] Add libgcrypt to Docker image. (flutter#3711) Reorder the checkboxes in the PR template (flutter#3666) Re-endorse connectivity_for_web (flutter#3708) Fix missing declaration of windows' default_package (flutter#3705) Typos in comments (flutter#2846) Skip flutter upgrade for pod linting Cirrus task (flutter#3700) [cross_file] Delete. (flutter#3698) [tool] Improve check version ci so that it enforces the version in CHANGELOG and pubspec matches. (flutter#3678) Streamline CI setup, and reenable macOS credits (flutter#3697) [video_player] fixed misleading size and aspect ratio documentation (flutter#3668) [image_picker] Implemented 2860 and added Unit Test to test functionality (flutter#3685) [shared_preferences] Fix concurrent modification of the shared preferences on Android (flutter#3684) [extension_google_sign_in_as_googleapis_auth] Deleted. (flutter#3694) Skip pod lint tests (flutter#3692) [Video_Player] Remove the deprecated API reference. (flutter#3669) [google_sign_in] fix test(flutter#3690) ...
This makes a few improvements to CI throughput:
This will increase credit usage relative to the last week or so, but not relative to most of the recent repository history.
Pre-launch Checklist
[shared_preferences]
///
).