From 87d691933420d3e511bc0c3a25e6ddd9a4398968 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Tue, 23 Nov 2021 22:22:36 -0500 Subject: [PATCH] [ci] Add a builder for local_tests.sh on Windows (#524) --- .ci.yaml | 10 ++++++++++ .ci/scripts/local_tests.sh | 7 +++++++ .ci/targets/windows_local_tests.yaml | 5 +++++ 3 files changed, 22 insertions(+) create mode 100644 .ci/scripts/local_tests.sh create mode 100644 .ci/targets/windows_local_tests.yaml diff --git a/.ci.yaml b/.ci.yaml index 647cbef22f..bc2c1de364 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -29,6 +29,16 @@ platform_properties: os: Windows targets: + - name: Windows local_tests master - packages + bringup: true + recipe: packages/packages + timeout: 30 + properties: + add_recipes_cq: "true" + target_file: windows_local_tests.yaml + channel: master + scheduler: luci + - name: Windows win32-platform_tests master - packages recipe: packages/packages timeout: 30 diff --git a/.ci/scripts/local_tests.sh b/.ci/scripts/local_tests.sh new file mode 100644 index 0000000000..93cc1cb1b0 --- /dev/null +++ b/.ci/scripts/local_tests.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Copyright 2013 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# TODO(stuartmorgan): Call scripts/local_tests.sh here as part of updating +# that script to work on Windows. diff --git a/.ci/targets/windows_local_tests.yaml b/.ci/targets/windows_local_tests.yaml new file mode 100644 index 0000000000..8320d3d2aa --- /dev/null +++ b/.ci/targets/windows_local_tests.yaml @@ -0,0 +1,5 @@ +tasks: + - name: prepare tool + script: .ci/scripts/prepare_tool.sh + - name: local tests + script: .ci/scripts/local_tests.sh