summaryrefslogtreecommitdiff
path: root/kokoro/windows-cmake.bat
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/windows-cmake.bat')
-rwxr-xr-xkokoro/windows-cmake.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/kokoro/windows-cmake.bat b/kokoro/windows-cmake.bat
new file mode 100755
index 0000000..b6d2f6f
--- /dev/null
+++ b/kokoro/windows-cmake.bat
@@ -0,0 +1,11 @@
+CD git/re2 || EXIT /B 1
+
+cmake -D CMAKE_BUILD_TYPE=Debug -G "Visual Studio 12 2013" -A x64 . || EXIT /B 1
+cmake --build . --config Debug --clean-first || EXIT /B 1
+ctest -C Debug --output-on-failure -E dfa^|exhaustive^|random || EXIT /B 1
+
+cmake -D CMAKE_BUILD_TYPE=Release -G "Visual Studio 12 2013" -A x64 . || EXIT /B 1
+cmake --build . --config Release --clean-first || EXIT /B 1
+ctest -C Release --output-on-failure -E dfa^|exhaustive^|random || EXIT /B 1
+
+EXIT /B 0