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

Commit 22747a8

Browse files
authored
Merge branch 'master' into video_player_android_rotation
2 parents 0025192 + ee97b65 commit 22747a8

File tree

1,898 files changed

+59094
-42591
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,898 files changed

+59094
-42591
lines changed

.ci.yaml

Lines changed: 71 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,23 @@
44
# for every commit.
55
#
66
# More information at:
7-
# * https://github.com/flutter/cocoon/blob/master/CI_YAML.md
7+
# * https://github.com/flutter/cocoon/blob/main/CI_YAML.md
88
enabled_branches:
9+
- main
910
- master
1011

1112
platform_properties:
13+
linux:
14+
properties:
15+
caches: >-
16+
[
17+
]
18+
dependencies: >
19+
[
20+
{"dependency": "curl"}
21+
]
22+
device_type: none
23+
os: Linux
1224
windows:
1325
properties:
1426
caches: >-
@@ -24,23 +36,79 @@ platform_properties:
2436
os: Windows
2537

2638
targets:
27-
- name: Windows Plugins master channel
39+
- name: Windows win32-platform_tests master
40+
recipe: plugins/plugins
41+
timeout: 30
42+
properties:
43+
add_recipes_cq: "true"
44+
target_file: windows_build_and_platform_tests.yaml
45+
dependencies: >
46+
[
47+
{"dependency": "vs_build"}
48+
]
49+
scheduler: luci
50+
51+
- name: Windows win32-platform_tests stable
52+
recipe: plugins/plugins
53+
timeout: 30
54+
properties:
55+
add_recipes_cq: "true"
56+
target_file: windows_build_and_platform_tests.yaml
57+
channel: stable
58+
dependencies: >
59+
[
60+
{"dependency": "vs_build"}
61+
]
62+
scheduler: luci
63+
64+
- name: Windows windows-build_all_plugins master
2865
recipe: plugins/plugins
2966
timeout: 30
3067
properties:
68+
add_recipes_cq: "true"
69+
target_file: build_all_plugins.yaml
3170
dependencies: >
3271
[
3372
{"dependency": "vs_build"}
3473
]
3574
scheduler: luci
3675

37-
- name: Windows Plugins stable channel
76+
- name: Windows windows-build_all_plugins stable
3877
recipe: plugins/plugins
3978
timeout: 30
4079
properties:
80+
add_recipes_cq: "true"
81+
target_file: build_all_plugins.yaml
4182
channel: stable
4283
dependencies: >
4384
[
4485
{"dependency": "vs_build"}
4586
]
4687
scheduler: luci
88+
89+
- name: Windows uwp-platform_tests master
90+
recipe: plugins/plugins
91+
timeout: 30
92+
properties:
93+
add_recipes_cq: "true"
94+
target_file: uwp_build_and_platform_tests.yaml
95+
dependencies: >
96+
[
97+
{"dependency": "vs_build"}
98+
]
99+
scheduler: luci
100+
101+
- name: Windows plugin_tools_tests
102+
recipe: plugins/plugins
103+
timeout: 30
104+
properties:
105+
add_recipes_cq: "true"
106+
target_file: plugin_tools_tests.yaml
107+
scheduler: luci
108+
109+
- name: Linux ci_yaml plugins roller
110+
recipe: infra/ci_yaml
111+
timeout: 30
112+
scheduler: luci
113+
runIf:
114+
- .ci.yaml

.ci/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ FROM cirrusci/flutter:2.2.2
55

66
RUN apt-get update -y
77

8-
# Required by Roboeletric and the Android SDK.
9-
RUN apt-get install -y openjdk-8-jdk
10-
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
11-
128
RUN apt-get install -y --no-install-recommends gnupg
139

1410
# Add repo for gcloud sdk and install it

.ci/java8.Dockerfile

Lines changed: 0 additions & 33 deletions
This file was deleted.

.ci/scripts/build_all_plugins.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
cd all_plugins
7+
flutter build windows --debug
8+
flutter build windows --release

.ci/scripts/build_examples_uwp.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
dart ./script/tool/bin/flutter_plugin_tools.dart build-examples --winuwp \
7+
--packages-for-branch --log-timing

.ci/scripts/build_examples_win32.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
dart ./script/tool/bin/flutter_plugin_tools.dart build-examples --windows \
7+
--packages-for-branch --log-timing

.ci/scripts/create_all_plugins_app.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
dart ./script/tool/bin/flutter_plugin_tools.dart all-plugins-app \
7+
--output-dir=. --exclude script/configs/exclude_all_plugins_app.yaml

.ci/scripts/drive_examples_win32.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
dart ./script/tool/bin/flutter_plugin_tools.dart drive-examples --windows \
7+
--packages-for-branch --log-timing

.ci/scripts/native_test_win32.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
dart ./script/tool/bin/flutter_plugin_tools.dart native-test --windows \
7+
--no-integration --packages-for-branch --log-timing

.ci/scripts/plugin_tools_tests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
cd script/tool
7+
dart pub run test

.ci/scripts/prepare_tool.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
# Copyright 2013 The Flutter Authors. All rights reserved.
3+
# Use of this source code is governed by a BSD-style license that can be
4+
# found in the LICENSE file.
5+
6+
# To set FETCH_HEAD for "git merge-base" to work
7+
git fetch origin master
8+
9+
cd script/tool
10+
dart pub get

.ci/targets/build_all_plugins.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: create all_plugins app
5+
script: .ci/scripts/create_all_plugins_app.sh
6+
- name: build all_plugins
7+
script: .ci/scripts/build_all_plugins.sh

.ci/targets/plugin_tools_tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: tool unit tests
5+
script: .ci/scripts/plugin_tools_tests.sh
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: build examples (UWP)
5+
script: .ci/scripts/build_examples_uwp.sh
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: build examples (Win32)
5+
script: .ci/scripts/build_examples_win32.sh
6+
- name: native unit tests (Win32)
7+
script: .ci/scripts/native_test_win32.sh
8+
- name: drive examples (Win32)
9+
script: .ci/scripts/drive_examples_win32.sh

0 commit comments

Comments
 (0)