Add coverity-windows.txt script and instructions

pull/326/head
Jeffrey Walton 2016-09-29 04:40:50 -04:00
parent 794e071b1a
commit 6a13f4f308
2 changed files with 26 additions and 1 deletions

View File

@ -2,7 +2,7 @@ The following are copy/paste instructions for invoking cov-build, building the l
For more information see http://cryptopp.com/wiki/Coverity_Scan. For more information see http://cryptopp.com/wiki/Coverity_Scan.
############################################## ################################################################
reset reset

View File

@ -0,0 +1,25 @@
The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan.
For more information see http://cryptopp.com/wiki/Coverity_Scan.
################################################################
cls
nmake /f cryptest.nmake clean
# Uncomment CXXFLAGS in makefile. Pay attention to X86, X64 or ARM
cov-build.exe --dir cov-int nmake /f cryptest.nmake
7z.exe a -r -tzip cryptopp.zip cov-int
set CRYPTOPP_COVERITY_TOKEN=XXXXXXXXXXXXXXXX
set COVERITY_SCAN_NAME=Rijndael-AliasedTable-SSE2-Windows-X64
curl.exe ^
--form token="%CRYPTOPP_COVERITY_TOKEN%" ^
--form email=webmaster@cryptopp.com ^
--form file=@cryptopp.zip ^
--form version="%COVERITY_SCAN_NAME%" ^
--form description="%COVERITY_SCAN_NAME%" ^
https://scan.coverity.com/builds?project=Cryptopp