Try to add AppVeyor Cmake builds for debug and release

Take 24
pull/465/head
Jeffrey Walton 2017-08-23 15:11:29 -04:00
parent b15f7b7e34
commit 94a9c6dc7b
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 11 additions and 19 deletions

View File

@ -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
}