Make more Windows configurations compile-only

We currently run Windows tests on {debug, release} x {win32, win64}.
Historically we needed to compile both debug and release because we
enabled some very fussy MSVC warnings. I'm not sure how much that's
still true, but once they're compiled, we probably don't need to run the
tests on both pre-commit. Letting the post-commit one pick that up is
probably fine.

Make the debug ones compile-only on the CQ, in hopes of reducing the
cycle times slightly.

Change-Id: Ifcd51f8e34e46262a28f6090fc3d18dec9465175
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66767
Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/generated/commit-queue.cfg b/generated/commit-queue.cfg
index 347ac43..dd823ba 100644
--- a/generated/commit-queue.cfg
+++ b/generated/commit-queue.cfg
@@ -177,6 +177,7 @@
       }
       builders {
         name: "boringssl/try/win32"
+        includable_only: true
       }
       builders {
         name: "boringssl/try/win32_clang"
@@ -186,6 +187,9 @@
         name: "boringssl/try/win32_clang_compile"
       }
       builders {
+        name: "boringssl/try/win32_compile"
+      }
+      builders {
         name: "boringssl/try/win32_rel"
       }
       builders {
@@ -204,6 +208,7 @@
       }
       builders {
         name: "boringssl/try/win64"
+        includable_only: true
       }
       builders {
         name: "boringssl/try/win64_clang"
@@ -213,6 +218,9 @@
         name: "boringssl/try/win64_clang_compile"
       }
       builders {
+        name: "boringssl/try/win64_compile"
+      }
+      builders {
         name: "boringssl/try/win64_rel"
       }
       builders {
diff --git a/generated/cr-buildbucket.cfg b/generated/cr-buildbucket.cfg
index 1e5dac9..db24b98 100644
--- a/generated/cr-buildbucket.cfg
+++ b/generated/cr-buildbucket.cfg
@@ -3413,6 +3413,35 @@
       }
     }
     builders {
+      name: "win32_compile"
+      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:
+        '{'
+        '  "msvc_target": "x86",'
+        '  "recipe": "boringssl",'
+        '  "run_ssl_tests": false,'
+        '  "run_unit_tests": false'
+        '}'
+      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: "win32_rel"
       swarming_host: "chromium-swarm.appspot.com"
       dimensions: "cpu:x86-64"
@@ -3653,6 +3682,35 @@
       }
     }
     builders {
+      name: "win64_compile"
+      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:
+        '{'
+        '  "msvc_target": "x64",'
+        '  "recipe": "boringssl",'
+        '  "run_ssl_tests": false,'
+        '  "run_unit_tests": false'
+        '}'
+      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_rel"
       swarming_host: "chromium-swarm.appspot.com"
       dimensions: "cpu:x86-64"
diff --git a/main.star b/main.star
index c61e0f3..f13b27e 100755
--- a/main.star
+++ b/main.star
@@ -819,6 +819,7 @@
     WIN_HOST,
     category = "win|x86",
     short_name = "dbg",
+    cq_compile_only = WIN_HOST,  # Reduce CQ cycle times.
     properties = {
         "msvc_target": "x86",
     },
@@ -902,6 +903,7 @@
     WIN_HOST,
     category = "win|x64",
     short_name = "dbg",
+    cq_compile_only = WIN_HOST,  # Reduce CQ cycle times.
     properties = {
         "msvc_target": "x64",
     },