Add windows_host_engine_test. (#161992)

Towards https://github.com/flutter/flutter/issues/161990.
This commit is contained in:
Matan Lurey 2025-01-22 10:14:21 -08:00 committed by GitHub
parent a17128274d
commit 23c7ac18e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 69 additions and 0 deletions

View File

@ -554,6 +554,18 @@ targets:
drone_dimensions:
- os=Windows
- name: Windows windows_host_engine_test
recipe: engine_v2/engine_v2
# TODO(matanlurey): Enable (https://github.com/flutter/flutter/issues/161990).
bringup: true
timeout: 120
properties:
config_name: windows_host_engine_test
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Windows
- name: Windows windows_arm_host_engine
recipe: engine_v2/engine_v2
timeout: 120

View File

@ -1,4 +1,12 @@
{
"_comment": [
"The builds defined in this file should not contain tests, ",
"and the file should not contain builds that are essentially tests. ",
"The only builds in this file should be the builds necessary to produce ",
"release artifacts. ",
"Tests to run on windows hosts should go in one of the other windows_ build ",
"definition files."
],
"builds": [
{
"archives": [

View File

@ -0,0 +1,49 @@
{
"_comment": [
"The builds defined in this file should only contain tests, ",
"and the file should not contain builds that produce artifacts. "
],
"builds": [
{
"drone_dimensions": [
"device_type=none",
"os=Windows-10"
],
"gclient_variables": {
"download_android_deps": false,
"download_jdk": false,
"use_rbe": true
},
"gn": [
"--target-dir",
"ci/host_debug",
"--runtime-mode",
"debug",
"--no-lto",
"--no-goma",
"--rbe"
],
"name": "ci\\host_debug",
"description": "Builds host-side unit tests for Windows.",
"ninja": {
"config": "ci/host_debug",
"targets": [
"flutter:unittests"
]
},
"tests": [
{
"language": "python3",
"name": "Host Tests for host_debug",
"script": "flutter/testing/run_tests.py",
"parameters": [
"--variant",
"ci/host_debug",
"--type",
"engine"
]
}
]
}
]
}