aboutsummaryrefslogtreecommitdiffstats
path: root/SoftHSMv2/testing/appveyor/appveyor_build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'SoftHSMv2/testing/appveyor/appveyor_build.bat')
-rw-r--r--SoftHSMv2/testing/appveyor/appveyor_build.bat51
1 files changed, 0 insertions, 51 deletions
diff --git a/SoftHSMv2/testing/appveyor/appveyor_build.bat b/SoftHSMv2/testing/appveyor/appveyor_build.bat
deleted file mode 100644
index 4e7f41f..0000000
--- a/SoftHSMv2/testing/appveyor/appveyor_build.bat
+++ /dev/null
@@ -1,51 +0,0 @@
-setlocal
-
-echo "Setting visual studio variables"
-
-call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %VCVARS_PLATFORM%
-@echo on
-
-echo "Setting PATH and other variables"
-set cur_dir=%CD%
-set PATH=%PATH%;%PYTHON_PATH%
-
-echo %cur_dir%
-cd win32
-
-python Configure.py %CONFIGURE_OPTIONS% || goto :error
-
-msbuild softhsm2.sln /p:Configuration="Release" /p:Platform="%MSBUILD_PLATFORM%" /p:PlatformToolset=v140 /target:Build || goto :error
-
-cd %cur_dir%
-
-IF "%ENV_PLATFORM%"=="x86" (set from_dir=%CD%\win32\Release) ELSE (set from_dir=%CD%\win32\x64\Release)
-
-echo "Testing build"
-
-cd %from_dir%
-cryptotest.exe || goto :error
-datamgrtest.exe || goto :error
-handlemgrtest.exe || goto :error
-objstoretest.exe || goto :error
-p11test.exe || goto :error
-sessionmgrtest.exe || goto :error
-slotmgrtest.exe || goto :error
-
-echo "Preparing output package"
-copy %from_dir%\softhsm2.dll %RELEASE_DIR% || goto :error
-copy %from_dir%\softhsm2-dump-file.exe %RELEASE_DIR% || goto :error
-copy %from_dir%\softhsm2-keyconv.exe %RELEASE_DIR% || goto :error
-copy %from_dir%\softhsm2-util.exe %RELEASE_DIR% || goto :error
-copy %cur_dir%\src\lib\common\softhsm2.conf.in %RELEASE_DIR%\softhsm2.conf || goto :error
-
-dir %RELEASE_DIR%
-
-@echo *** BUILD SUCCESSFUL ***
-endlocal
-@exit /b 0
-
-
-:error
-@echo *** BUILD FAILED ***
-endlocal
-@exit /b 1