From 493d48c5aa4fa91c6c85078c7cecc66939ae7156 Mon Sep 17 00:00:00 2001 From: Nick Russler Date: Thu, 10 Nov 2016 12:05:20 +0100 Subject: [PATCH] Update appveyor Build the driver, the devmsi library and the msi with Visual Studio 2015. --- appveyor.yml | 45 +++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index bcaa62e..46d9d8e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,36 +1,21 @@ platform: - - x86 - - x64 + - x86 + - x64 -environment: - matrix: - - VSVER: 14 - - VSVER: 12 - - VSVER: 10 - -matrix: - allow_failures: - # The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\WDKConversion\PreConfiguration.props" was not found. - - platform: x86 - VSVER: 10 +os: Visual Studio 2015 install: - - date /T & time /T - - ps: >- - If ($env:Platform -Match "x86") { - $env:VCVARS_PLATFORM="x86" - $env:MSBUILD_PLATFORM="Win32" - } Else { - $env:VCVARS_PLATFORM="amd64" - $env:MSBUILD_PLATFORM="x64" - } - - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) - - echo "Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%" - - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% - - ps: $env:PATH="${env:ProgramFiles(x86)}\Windows Kits\8.1\bin\x86;${env:PATH}" - - NMake2MSBuild.exe virtualsmartcard\win32\BixVReader\WinXP\sources - - ProjectUpgradeTool.exe virtualsmartcard\win32\BixVReader\WinXP + - date /T & time /T + - ps: >- + If ($env:Platform -Match "x86") { + $env:MSBUILD_PLATFORM="x86" + } Else { + $env:MSBUILD_PLATFORM="x64" + } + - git submodule update --init --recursive + + # BUGFIX: wdf directory was renamed to 00wdf, rename it back (see github.com/appveyor/ci/issues/414) + - ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf' build_script: - - msbuild virtualsmartcard\win32\BixVReader\WinXP\BixVReader.sln /p:Configuration="Win7 Debug" /p:Platform=%MSBUILD_PLATFORM% - - msbuild virtualsmartcard\win32\vpcd-config\vpcd-config.sln /p:Configuration="Debug" /p:Platform=Win32 + - msbuild virtualsmartcard\win32\BixVReader.sln /p:Configuration=Release;Platform=%MSBUILD_PLATFORM%