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

Commit 887ba2d

Browse files
authored
Add scripts for Windows LUCI recipe (#4303)
See flutter/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/flutter#89373
1 parent 6f037b4 commit 887ba2d

5 files changed

+34
-0
lines changed

.ci.yaml

+2
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

+7
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

+7
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

+10
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
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)