Remove NMake support (#10656)
* Deleting NMake build * Deleting documentation for NMakepull/10662/head
parent
264292e4c7
commit
1e24391438
5 changed files with 0 additions and 62 deletions
@ -1,34 +0,0 @@ |
||||
@rem enter repo root |
||||
cd /d %~dp0\..\..\.. |
||||
|
||||
call kokoro\windows\prepare_build_win64.bat || goto :error |
||||
|
||||
@rem TODO(b/241475022) Use docker to guarantee better stability. |
||||
@rem TODO(b/241484899) Run conformance tests in windows. |
||||
|
||||
md build |
||||
md %KOKORO_ARTIFACTS_DIR%\logs |
||||
|
||||
cd build |
||||
|
||||
cmake .. ^ |
||||
-G "NMake Makefiles" ^ |
||||
-DCMAKE_C_COMPILER=cl.exe ^ |
||||
-DCMAKE_CXX_COMPILER=cl.exe ^ |
||||
-Dprotobuf_BUILD_CONFORMANCE=OFF ^ |
||||
-Dprotobuf_WITH_ZLIB=OFF ^ |
||||
-Dprotobuf_TEST_XML_OUTDIR=%KOKORO_ARTIFACTS_DIR%\logs\ || goto :error |
||||
|
||||
cmake --build . || goto :error |
||||
|
||||
ctest --verbose -C Debug || goto :error |
||||
|
||||
goto :success |
||||
|
||||
:error |
||||
cd /d %~dp0\..\..\.. |
||||
echo Failed! |
||||
exit /b 1 |
||||
|
||||
:success |
||||
cd .. |
@ -1,5 +0,0 @@ |
||||
# Config file for running tests in Kokoro |
||||
|
||||
# Location of the build script in repository |
||||
build_file: "protobuf/kokoro/windows/cmake_nmake/build.bat" |
||||
timeout_mins: 1440 |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
@ -1 +0,0 @@ |
||||
# Keep this file empty! Use common.cfg instead. |
Loading…
Reference in new issue