blob: 1fe309fabd577729fcc4c151bc66cef0c23b3c72 [file] [log] [blame]
#!/bin/bash
set -eux
# Disable MSYS/MSYS2 path conversion, which interferes with Bazel.
export MSYS_NO_PATHCONV='1'
export MSYS2_ARG_CONV_EXCL='*'
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