.bcr: fix windows command-line flags

Change-Id: I9fe55a5db9c7080b818d8b4411982ad4e65d50f5
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63990
Reviewed-by: Jeremy Kun <jkun@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml
index 18ac73f..7e3d165 100644
--- a/.bcr/presubmit.yml
+++ b/.bcr/presubmit.yml
@@ -4,12 +4,12 @@
   - debian10
   - ubuntu2004
   - macos
-  - windows
   bazel:
   - 7.x
   - 8.x
+
 tasks:
-  build:
+  unix_build:
     platform: ${{ platform }}
     bazel: ${{ bazel }}
     build_flags:
@@ -17,6 +17,14 @@
     build_targets:
     - '@re2//:re2'
     - '@re2//python:re2'
+  windows_build:
+    platform: windows
+    bazel: ${{ bazel }}
+    build_flags:
+    - '--cxxopt=/std:c++17'
+    build_targets:
+    - '@re2//:re2'
+    - '@re2//python:re2'
 
 bcr_test_module:
   module_path: '.'
@@ -31,7 +39,7 @@
     - 7.x
     - 8.x
   tasks:
-    test:
+    unix_test:
       platform: ${{ platform }}
       bazel: ${{ bazel }}
       test_flags:
@@ -45,3 +53,17 @@
       - '-//:exhaustive_test'
       - '-//:random_test'
       - '//python:all'
+    windows_test:
+      platform: windows
+      bazel: ${{ bazel }}
+      test_flags:
+      - '--cxxopt=/std:c++17'
+      test_targets:
+      - '//:all'
+      - '-//:dfa_test'
+      - '-//:exhaustive1_test'
+      - '-//:exhaustive2_test'
+      - '-//:exhaustive3_test'
+      - '-//:exhaustive_test'
+      - '-//:random_test'
+      - '//python:all'