mirror of
https://github.com/google/re2.git
synced 2025-10-14 02:17:38 +08:00

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 <perryl@google.com> Reviewed-by: Paul Wankadia <junyer@google.com>
12 lines
294 B
Bash
Executable File
12 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
|
|
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
|