Add a default-off win64_rust try builder for testing To test the Rust recipe steps on Windows. Once confirmed working, this builder will be removed in favor of incorporating the Rust steps on the existing "win64" builders (like what was done for linux). Change-Id: I6a4baf4ab5ea9a486378940d98a8f431010ea009 Bug: 42290446 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/80907 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: Adam Langley <agl@google.com> Auto-Submit: Lily Chen <chlily@google.com>
diff --git a/infra/config/generated/commit-queue.cfg b/infra/config/generated/commit-queue.cfg index 1fc09f6..697d26a 100644 --- a/infra/config/generated/commit-queue.cfg +++ b/infra/config/generated/commit-queue.cfg
@@ -234,6 +234,10 @@ name: "boringssl/try/win64_rel" } builders { + name: "boringssl/try/win64_rust" + includable_only: true + } + builders { name: "boringssl/try/win64_sde" includable_only: true }
diff --git a/infra/config/generated/cr-buildbucket.cfg b/infra/config/generated/cr-buildbucket.cfg index a5d0633..106c9b3 100644 --- a/infra/config/generated/cr-buildbucket.cfg +++ b/infra/config/generated/cr-buildbucket.cfg
@@ -3894,6 +3894,37 @@ } } builders { + name: "win64_rust" + swarming_host: "chromium-swarm.appspot.com" + dimensions: "cpu:x86-64" + dimensions: "os:Windows-10" + dimensions: "pool:luci.flex.try" + exe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/main" + cmd: "luciexe" + } + properties: + '{' + ' "cmake_args": {' + ' "RUST_BINDINGS": "x86_64-pc-windows-msvc"' + ' },' + ' "msvc_target": "x64",' + ' "recipe": "boringssl",' + ' "rust": true' + '}' + execution_timeout_secs: 1800 + caches { + name: "win_toolchain" + path: "win_toolchain" + } + service_account: "boringssl-try-builder@chops-service-accounts.iam.gserviceaccount.com" + experiments { + key: "luci.recipes.use_python3" + value: 100 + } + } + builders { name: "win64_sde" swarming_host: "chromium-swarm.appspot.com" dimensions: "cpu:x86-64"
diff --git a/infra/config/main.star b/infra/config/main.star index 19921cb..506d5bc 100755 --- a/infra/config/main.star +++ b/infra/config/main.star
@@ -1006,6 +1006,21 @@ "msvc_target": "x64", }, ) + +# TODO(crbug.com/42290446): Verify the recipe is working, then remove this +# testing-only builder and incorporate the Rust steps on "win64" on CQ and CI. +cq_builder( + "win64_rust", + WIN_HOST, + cq_enabled = False, + properties = { + "msvc_target": "x64", + "cmake_args": { + "RUST_BINDINGS": "x86_64-pc-windows-msvc", + }, + "rust": True, + }, +) both_builders( "win64_rel", WIN_HOST,