Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
507c44a
Remove pod setup
jmagman Dec 5, 2019
1206251
Remove repo remove
jmagman Dec 6, 2019
e9cd4ef
Rearrange .cirrus script, add cache
jmagman Dec 6, 2019
426532b
Indent
jmagman Dec 6, 2019
5d75a70
{
jmagman Dec 6, 2019
b66e3c8
Remove cache
jmagman Dec 6, 2019
eac5365
Remove cache
jmagman Dec 6, 2019
436aad4
Rename script
jmagman Dec 6, 2019
c95c9d2
BASE_TASK_TEMPLATE
jmagman Dec 6, 2019
3a1ff30
Remove CIRRUS_WORKING_DIR
jmagman Dec 6, 2019
fc3c4ad
Change fingerprint
jmagman Dec 6, 2019
9f35317
single
jmagman Dec 6, 2019
918adf9
fingerprint
jmagman Dec 6, 2019
54e4bbe
FLUTTER_TEMPLATE
jmagman Dec 6, 2019
153db2b
BASE_TASK_TEMPLATE
jmagman Dec 6, 2019
5294d39
Test fingerprint_script outside of template
jmagman Dec 6, 2019
e3ced2a
extension-methods
jmagman Dec 6, 2019
0d18153
**
jmagman Dec 6, 2019
3cf307d
fi
jmagman Dec 6, 2019
860f5a1
Remove format dependency
jmagman Dec 6, 2019
ac73cd0
Swap to master
jmagman Dec 6, 2019
693b1bf
FLUTTER_TEMPLATE
jmagman Dec 6, 2019
1f436b5
Reduce number of templates
jmagman Dec 6, 2019
98423d4
Rearrange matrix
jmagman Dec 6, 2019
fac97be
Try only_if
jmagman Dec 6, 2019
9121781
Rearrange matrix
jmagman Dec 6, 2019
8314d64
Rearrange matrix
jmagman Dec 6, 2019
901cd92
pub_cache
jmagman Dec 6, 2019
d1f2ce4
Well only_if didn't work...
jmagman Dec 6, 2019
c643da5
Cache all the things
jmagman Dec 7, 2019
bf81f69
Add channel to fingerprint
jmagman Dec 7, 2019
773e81f
channel_script
jmagman Dec 7, 2019
672030a
Remove all caches
jmagman Dec 7, 2019
d12b38d
Clear flutter cache
jmagman Dec 7, 2019
41147b0
FLUTTER_HOME is there, rm the cache
jmagman Dec 7, 2019
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
Prev Previous commit
Next Next commit
Well only_if didn't work...
  • Loading branch information
jmagman committed Dec 6, 2019
commit d1f2ce4ac780cf0eed1a39d832fc78ea4e8280ed
25 changes: 7 additions & 18 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ flutter_skip_web_template: &FLUTTER_SKIP_WEB_TEMPLATE
remove_web_plugins_script:
# TODO(jackson): Allow web plugins once supported on stable
# https://github.com/flutter/flutter/issues/42864
- find . | grep _web$ | xargs rm -rf
- if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi

# fingerprint_script doesn't seem to work in templates.
# To keep OS caches from colliding, split them into separate caches.
Expand All @@ -22,11 +22,6 @@ cache_stable_macos_template: &CACHE_STABLE_MACOS_TEMPLATE
flutter_artifacts_macos_cache:
folder: $FLUTTER_HOME/bin/cache/artifacts


flutter_pkg_linux_cache:
folder: $FLUTTER_HOME/bin/cache/pkg
flutter_artifacts_linux_cache:
folder: $FLUTTER_HOME/bin/cache/artifacts
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
container:
Expand All @@ -35,11 +30,7 @@ task:
memory: 16G
environment:
PATH: $PATH:$HOME/.pub-cache/bin
CHANNEL: "stable" # Default to flutter stable to leverage caching.
pub_cache:
folder: $HOME/.pub-cache
fingerprint_script: echo $CIRRUS_OS
only_if: $CHANNEL == "stable"
CHANNEL: "stable" # Default to flutter stable, tests can override.
upgrade_script:
- which flutter
- flutter channel $CHANNEL
Expand All @@ -63,9 +54,9 @@ task:
- sudo apt-get update
- sudo apt-get install -y --allow-unauthenticated clang-format-7
- date
format_script:
- ./script/incremental_build.sh format --travis --clang-format=clang-format-7
format_script: ./script/incremental_build.sh format --travis --clang-format=clang-format-7
- name: test
<< : *FLUTTER_SKIP_WEB_TEMPLATE
environment:
matrix:
CHANNEL: "master"
Expand All @@ -86,6 +77,7 @@ task:
- format
- publishable
- name: build-apks+java-test+firebase-test-lab
<< : *FLUTTER_SKIP_WEB_TEMPLATE
environment:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2"
Expand Down Expand Up @@ -129,11 +121,7 @@ task:
environment:
COCOAPODS_DISABLE_STATS: true
PATH: $PATH:/usr/local/bin:$HOME/.pub-cache/bin
CHANNEL: "stable" # Default to flutter stable to leverage caching.
pub_cache:
folder: $HOME/.pub-cache
fingerprint_script: echo $CIRRUS_OS
only_if: $CHANNEL == "stable"
CHANNEL: "stable" # Default to flutter stable, tests can override.
upgrade_script:
- which flutter
- flutter channel $CHANNEL
Expand All @@ -157,6 +145,7 @@ task:
script:
- ./script/lint_darwin_plugins.sh
- name: build-ipas+drive-examples
<< : *FLUTTER_SKIP_WEB_TEMPLATE
environment:
matrix:
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4"
Expand Down