From 20ffc508e08a657628839752347998dab28981f6 Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Mon, 8 Jun 2026 08:39:29 -0700 Subject: [PATCH] [infra] Enable sharding for Windows ARM64. Change-Id: I73d0b5c48b84c50b2f83ae3a81c04bcfcceac4d2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/504160 Reviewed-by: Alexander Aprelev Commit-Queue: Ryan Macnak --- tools/bots/test_matrix.json | 131 +++--------------------------------- 1 file changed, 10 insertions(+), 121 deletions(-) diff --git a/tools/bots/test_matrix.json b/tools/bots/test_matrix.json index 01bee1c4393..be54229c3d4 100644 --- a/tools/bots/test_matrix.json +++ b/tools/bots/test_matrix.json @@ -1821,7 +1821,7 @@ "vm-win-release-arm64" ], "meta": { - "description": "This configuration is for the ARM64 JIT builders, no shards." + "description": "This configuration is for the ARM64 JIT builders, low shards." }, "steps": [ { @@ -1842,7 +1842,9 @@ "standalone", "utils", "vm" - ] + ], + "fileset": "vm", + "shards": 2 } ] }, @@ -1852,7 +1854,7 @@ "vm-aot-win-release-arm64" ], "meta": { - "description": "This configuration is for the ARM64 AOT builders, no shards." + "description": "This configuration is for the ARM64 AOT builders, low shards." }, "steps": [ { @@ -1874,7 +1876,9 @@ "standalone", "utils", "vm" - ] + ], + "fileset": "vm", + "shards": 2 } ] }, @@ -3123,7 +3127,8 @@ "pkg-linux-release-arm64", "pkg-mac-release", "pkg-mac-release-arm64", - "pkg-win-release" + "pkg-win-release", + "pkg-win-release-arm64" ], "meta": { "description": "This configuration is used by the pkg builders." @@ -3251,122 +3256,6 @@ } ] }, - { - "builders": [ - "pkg-win-release-arm64" - ], - "meta": { - "description": "This configuration is used by the pkg builders, no shards." - }, - "steps": [ - { - "name": "validate pkg/ pubspec files", - "script": "tools/sdks/dart-sdk/bin/dart", - "arguments": [ - "tools/package_deps/bin/package_deps.dart" - ] - }, - { - "name": "build dart", - "script": "tools/build.py", - "arguments": [ - "create_sdk", - "dartanalyzer", - "ddc_stable_test", - "dartpad" - ] - }, - { - "name": "validate SDK API docs", - "script": "${build_root}/dart-sdk/bin/dart", - "arguments": [ - "doc", - "--sdk-docs", - "--dry-run", - "--verbose" - ] - }, - { - "name": "validate SDK API doc code samples", - "script": "${build_root}/dart-sdk/bin/dart", - "arguments": [ - "tools/verify_docs/bin/verify_docs.dart", - "dart:_http", - "dart:_internal", - "dart:_wasm", - "dart:cli", - "dart:convert", - "dart:developer", - "dart:ffi", - "dart:isolate", - "dart:js", - "dart:js_util", - "dart:math", - "dart:mirrors" - ] - }, - { - "name": "validate SDK API data-driven fixes", - "script": "${build_root}/dart-sdk/bin/dart", - "arguments": [ - "fix", - "--suppress-analytics", - "--compare-to-golden", - "tests/lib/fix_data_tests" - ] - }, - { - "name": "analyze pkg/", - "script": "${build_root}/dart-sdk/bin/dart", - "arguments": [ - "analyze", - "--suppress-analytics", - "--fatal-infos", - "pkg" - ] - }, - { - "name": "third_party tested packages", - "arguments": [ - "-nunittest-asserts-${mode}-${system}-${arch}", - "dart_style", - "code_assets", - "data_assets", - "hooks_runner", - "hooks", - "native_toolchain_c", - "record_use", - "package_config", - "pkg/pkg/dartdev/test/native_assets" - ] - }, - { - "name": "pub integration tests", - "script": "tools/bots/pub_integration_test.py", - "arguments": [ - "--mode=${mode}", - "--arch=${arch}" - ] - }, - { - "name": "analyze tools/", - "script": "${build_root}/dart-sdk/bin/dart", - "arguments": [ - "analyze", - "--suppress-analytics", - "--fatal-infos", - "tools" - ] - }, - { - "name": "package unit tests", - "arguments": [ - "-nunittest-asserts-${mode}-${system}-${arch}", - "pkg/pkg/(?!(analyzer*|analysis_server|analysis_server_plugin|compiler|dart2wasm|dev_compiler|js_runtime|front_end|kernel|frontend_server|nnbd_migration|dartdev/test/native_assets|vm_service)/)" - ] - } - ] - }, { "builders": [ "benchmark-linux"