summaryrefslogtreecommitdiff
path: root/third_party/re2/src/.github/bazel.sh
diff options
context:
space:
mode:
authorCronet Mainline Eng <cronet-mainline-eng+copybara@google.com>2024-06-07 18:59:21 +0900
committerMotomu Utsumi <motomuman@google.com>2024-06-07 19:00:37 +0900
commit93dc77d4cfa4a2996ac5bf4c67b0d4223847eb65 (patch)
tree92c5aba3655194ff55d27c652a265bd6f87b0470 /third_party/re2/src/.github/bazel.sh
parentb66ce594f84a102bf71c3e2754d9c0bfdd620b85 (diff)
downloadcronet-93dc77d4cfa4a2996ac5bf4c67b0d4223847eb65.tar.gz
Import Cronet version 124.0.6367.42
FolderOrigin-RevId: /tmp/copybara-origin/src Change-Id: I727d2277512236d7d0db42e102d291b6204b38e5
Diffstat (limited to 'third_party/re2/src/.github/bazel.sh')
-rwxr-xr-xthird_party/re2/src/.github/bazel.sh37
1 files changed, 19 insertions, 18 deletions
diff --git a/third_party/re2/src/.github/bazel.sh b/third_party/re2/src/.github/bazel.sh
index 7295ec6a8..1fe309fab 100755
--- a/third_party/re2/src/.github/bazel.sh
+++ b/third_party/re2/src/.github/bazel.sh
@@ -1,24 +1,25 @@
#!/bin/bash
set -eux
-bazel clean
-bazel build --compilation_mode=dbg -- //:all
-bazel test --compilation_mode=dbg -- //:all \
- -//:dfa_test \
- -//:exhaustive1_test \
- -//:exhaustive2_test \
- -//:exhaustive3_test \
- -//:exhaustive_test \
- -//:random_test
+# Disable MSYS/MSYS2 path conversion, which interferes with Bazel.
+export MSYS_NO_PATHCONV='1'
+export MSYS2_ARG_CONV_EXCL='*'
-bazel clean
-bazel build --compilation_mode=opt -- //:all
-bazel test --compilation_mode=opt -- //:all \
- -//:dfa_test \
- -//:exhaustive1_test \
- -//:exhaustive2_test \
- -//:exhaustive3_test \
- -//:exhaustive_test \
- -//:random_test
+for compilation_mode in dbg opt
+do
+ bazel clean
+ bazel build --compilation_mode=${compilation_mode} -- \
+ //:re2 \
+ //python:re2
+ bazel test --compilation_mode=${compilation_mode} -- \
+ //:all \
+ -//:dfa_test \
+ -//:exhaustive1_test \
+ -//:exhaustive2_test \
+ -//:exhaustive3_test \
+ -//:exhaustive_test \
+ -//:random_test \
+ //python:all
+done
exit 0