Skip to content

Commit 887ba2d

Browse files
Add scripts for Windows LUCI recipe (flutter#4303)
See flutter#89373 for context. This sets up the script and config file to replicate the current plugins.py recipe's behavior using the planned generic recipe. These are currently unused, but are being landed first so that the generic recipe has something to test against. Part of flutter#89373
1 parent 6f037b4 commit 887ba2d

File tree

5 files changed

+34
-0
lines changed

5 files changed

+34
-0
lines changed

.ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ targets:
3939
recipe: plugins/plugins
4040
timeout: 30
4141
properties:
42+
target_file: windows_build_and_platform_tests.yaml
4243
dependencies: >
4344
[
4445
{"dependency": "vs_build"}
@@ -49,6 +50,7 @@ targets:
4950
recipe: plugins/plugins
5051
timeout: 30
5152
properties:
53+
target_file: windows_build_and_platform_tests.yaml
5254
channel: stable
5355
dependencies: >
5456
[

.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

.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

.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
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
tasks:
3+
- name: "prepare tool"
4+
script: .ci/scripts/prepare_tool.sh
5+
- name: "build examples"
6+
script: .ci/scripts/build_examples_win32.sh
7+
- name: "drive examples"
8+
script: .ci/scripts/drive_examples_win32.sh

0 commit comments

Comments
 (0)