-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update @pybind11_bazel to version 2.11.1.bzl.3.
At long last, we can test the Python bindings in the CI because they should actually work on Windows as well... Change-Id: Iede307a2cc059fd3230d238e0861439971b4169f Reviewed-on: https://code-review.googlesource.com/c/re2/+/62751 Reviewed-by: Perry Lorier <[email protected]> Reviewed-by: Paul Wankadia <[email protected]>
- Loading branch information
Showing
4 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
#!/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 | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#!/bin/bash | ||
set -eux | ||
|
||
cmake . -D CMAKE_BUILD_TYPE=Debug -D RE2_BUILD_TESTING=ON "$@" | ||
cmake --build . --config Debug --clean-first | ||
ctest -C Debug --output-on-failure -E 'dfa|exhaustive|random' | ||
|
||
cmake . -D CMAKE_BUILD_TYPE=Release -D RE2_BUILD_TESTING=ON "$@" | ||
cmake --build . --config Release --clean-first | ||
ctest -C Release --output-on-failure -E 'dfa|exhaustive|random' | ||
for CMAKE_BUILD_TYPE in Debug Release | ||
do | ||
cmake . -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -D RE2_BUILD_TESTING=ON "$@" | ||
cmake --build . --config ${CMAKE_BUILD_TYPE} --clean-first | ||
ctest -C ${CMAKE_BUILD_TYPE} --output-on-failure -E 'dfa|exhaustive|random' | ||
done | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters