From 397f3ade13aba97617b934201a4ab8dbc109c635 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 23 Aug 2017 13:27:12 -0400 Subject: [PATCH] Try to add AppVeyor Cmake builds for debug and release Take 16 --- .appveyor.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 1c326e4a..db383ff5 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,11 +37,7 @@ test_script: - ps: >- - echo "Image 1: $image" - - echo "Image 2: $env:image" - - if($image -eq "Visual Studio 2017" -and $env:BUILD_MODE -eq "CMake") + if($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017" -and $env:BUILD_MODE -eq "CMake") { echo "Visual Studio 2017, CMake" @@ -61,7 +57,7 @@ test_script: .\cryptest.exe tv all } - elseif($image -eq "Visual Studio 2015" -and $env:BUILD_MODE -eq "CMake") + elseif($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015" -and $env:BUILD_MODE -eq "CMake") { echo "Visual Studio 2015, CMake" @@ -81,7 +77,7 @@ test_script: .\cryptest.exe tv all } - elseif($image -eq "Visual Studio 2013" -and $env:BUILD_MODE -eq "CMake") + elseif($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2013" -and $env:BUILD_MODE -eq "CMake") { echo "Visual Studio 2013, CMake"