Files
re2/.github/cmake.sh
Paul Wankadia 45c9985092 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 <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
2024-03-04 11:00:31 +00:00

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