CD git/re2                              || EXIT /B 1

cmake .                                 || EXIT /B 1
cmake --build . --clean-first           || EXIT /B 1
ctest -E dfa^|exhaustive^|random        || EXIT /B 1

cmake -DCMAKE_BUILD_TYPE=Release .      || EXIT /B 1
cmake --build . --clean-first           || EXIT /B 1
ctest -E dfa^|exhaustive^|random        || EXIT /B 1

EXIT /B 0

CD git/re2                                                          || EXIT /B 1

cmake -D CMAKE_BUILD_TYPE=Debug -A x64 .                            || EXIT /B 1
cmake --build . --config Debug --clean-first                        || EXIT /B 1
ctest --build-config Debug -E dfa^|exhaustive^|random               || EXIT /B 1

cmake -D CMAKE_BUILD_TYPE=Release -A x64 .                          || EXIT /B 1
cmake --build . --config Release --clean-first                      || EXIT /B 1
ctest --build-config Release -E dfa^|exhaustive^|random             || EXIT /B 1

EXIT /B 0

Tweak the CI script for CMake on Windows.
Tweak the CI script for CMake on Windows.

Change-Id: I10f78c381c3aaf542952863ac6d6e9398d2fbb65
Reviewed-on: https://code-review.googlesource.com/7217
Reviewed-by: Paul Wankadia <62d4e38bb1380f055ec4b899baa75e52af09c5f7@google.com>
