Merge the two Windows and two Mac sections into one with matrix (#20077)
This commit is contained in:
parent
6d92151f61
commit
c3248b79fc
50
.cirrus.yml
50
.cirrus.yml
@ -46,7 +46,6 @@ task:
|
|||||||
memory: 8G
|
memory: 8G
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: tests-windows
|
|
||||||
env:
|
env:
|
||||||
SHARD: tests
|
SHARD: tests
|
||||||
windows_container:
|
windows_container:
|
||||||
@ -62,43 +61,15 @@ task:
|
|||||||
- git fetch origin master
|
- git fetch origin master
|
||||||
test_all_script:
|
test_all_script:
|
||||||
- bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
|
- bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
|
||||||
|
matrix:
|
||||||
|
- name: tests-windows
|
||||||
|
env:
|
||||||
|
SHARD: tests
|
||||||
|
- name: tool_tests-windows
|
||||||
|
env:
|
||||||
|
SHARD: tool_tests
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: tool_tests-windows
|
|
||||||
env:
|
|
||||||
SHARD: tool_tests
|
|
||||||
windows_container:
|
|
||||||
image: cirrusci/windowsservercore:2016
|
|
||||||
os_version: 2016
|
|
||||||
cpu: 4
|
|
||||||
env:
|
|
||||||
CIRRUS_WORKING_DIR: "C:\\Windows\\Temp\\flutter sdk"
|
|
||||||
git_fetch_script: git fetch origin
|
|
||||||
setup_script:
|
|
||||||
- bin\flutter.bat config --no-analytics
|
|
||||||
- bin\flutter.bat update-packages
|
|
||||||
- git fetch origin master
|
|
||||||
test_all_script:
|
|
||||||
- bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
|
|
||||||
|
|
||||||
task:
|
|
||||||
name: tests-macos
|
|
||||||
env:
|
|
||||||
SHARD: tests
|
|
||||||
osx_instance:
|
|
||||||
image: high-sierra-xcode-9.4.1
|
|
||||||
git_fetch_script: git fetch origin
|
|
||||||
setup_script:
|
|
||||||
- bin/flutter config --no-analytics
|
|
||||||
- bin/flutter update-packages
|
|
||||||
test_all_script: |
|
|
||||||
ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
|
|
||||||
bin/cache/dart-sdk/bin/dart -c dev/bots/test.dart
|
|
||||||
|
|
||||||
task:
|
|
||||||
name: tool_tests-macos
|
|
||||||
env:
|
|
||||||
SHARD: tool_tests
|
|
||||||
osx_instance:
|
osx_instance:
|
||||||
image: high-sierra-xcode-9.4.1
|
image: high-sierra-xcode-9.4.1
|
||||||
git_fetch_script: git fetch origin
|
git_fetch_script: git fetch origin
|
||||||
@ -108,3 +79,10 @@ task:
|
|||||||
test_all_script: |
|
test_all_script: |
|
||||||
ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
|
ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
|
||||||
bin/cache/dart-sdk/bin/dart -c dev/bots/test.dart
|
bin/cache/dart-sdk/bin/dart -c dev/bots/test.dart
|
||||||
|
matrix:
|
||||||
|
- name: tests-macos
|
||||||
|
env:
|
||||||
|
SHARD: tests
|
||||||
|
- name: tool_tests-macos
|
||||||
|
env:
|
||||||
|
SHARD: tool_tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user