parent
b15f7b7e34
commit
94a9c6dc7b
|
|
@ -40,8 +40,6 @@ test_script:
|
|||
if($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017" -and $env:BUILD_MODE -eq "CMake")
|
||||
{
|
||||
|
||||
echo "Visual Studio 2017, CMake"
|
||||
|
||||
mkdir cmake-build
|
||||
|
||||
cd cmake-build
|
||||
|
|
@ -52,18 +50,16 @@ test_script:
|
|||
|
||||
msbuild /t:Build cryptest.vcxproj
|
||||
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\cryptest.exe $env:APPVEYOR_BUILD_FOLDER\
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\ $env:APPVEYOR_BUILD_FOLDER\ cryptest.exe
|
||||
|
||||
.\cryptest.exe v
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe v
|
||||
|
||||
.\cryptest.exe tv all
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe tv all
|
||||
|
||||
}
|
||||
elseif($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015" -and $env:BUILD_MODE -eq "CMake")
|
||||
{
|
||||
|
||||
echo "Visual Studio 2015, CMake"
|
||||
|
||||
mkdir cmake-build
|
||||
|
||||
cd cmake-build
|
||||
|
|
@ -74,18 +70,16 @@ test_script:
|
|||
|
||||
msbuild /t:Build cryptest.vcxproj
|
||||
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\cryptest.exe $env:APPVEYOR_BUILD_FOLDER\
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\ $env:APPVEYOR_BUILD_FOLDER\ cryptest.exe
|
||||
|
||||
.\cryptest.exe v
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe v
|
||||
|
||||
.\cryptest.exe tv all
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe tv all
|
||||
|
||||
}
|
||||
elseif($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2013" -and $env:BUILD_MODE -eq "CMake")
|
||||
{
|
||||
|
||||
echo "Visual Studio 2013, CMake"
|
||||
|
||||
mkdir cmake-build
|
||||
|
||||
cd cmake-build
|
||||
|
|
@ -96,27 +90,25 @@ test_script:
|
|||
|
||||
msbuild /t:Build cryptest.vcxproj
|
||||
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\cryptest.exe $env:APPVEYOR_BUILD_FOLDER\
|
||||
robocopy $env:APPVEYOR_BUILD_FOLDER\$env:configuration\ $env:APPVEYOR_BUILD_FOLDER\ cryptest.exe
|
||||
|
||||
.\cryptest.exe v
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe v
|
||||
|
||||
.\cryptest.exe tv all
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe tv all
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
echo "Visual Studio, MSBuild"
|
||||
|
||||
msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptlib.vcxproj
|
||||
|
||||
msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptest.vcxproj
|
||||
|
||||
msbuild /t:CopyCryptestToRoot cryptest.vcxproj
|
||||
|
||||
.\cryptest.exe v
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe v
|
||||
|
||||
.\cryptest.exe tv all
|
||||
$env:APPVEYOR_BUILD_FOLDER\cryptest.exe tv all
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue