Browse Source

patch for Visual Studio 9 2008 x64 failed builds

pull/187/head
simon-p-r 7 years ago
parent
commit
824e1b2a99
No known key found for this signature in database GPG Key ID: 5963FF709EE3DC8A
  1. 11
      appveyor-patch.ps1
  2. 1
      appveyor.yml

11
appveyor-patch.ps1

@ -0,0 +1,11 @@
# Script to patch Appveyor build environment for Visual Studio 2008 64bit
$url = "https://github.com/menpo/condaci/raw/master/vs2008_patch.zip"
$output = "$pwd\build\vs2008_patch.zip"
(New-Object System.Net.WebClient).DownloadFile($url, $output)
7z -e "$pwd\build\vs2008_patch.zip"
cmd.exe /c "$pwd\build\vs2008_patch\setup_x64.bat"

1
appveyor.yml

@ -72,6 +72,7 @@ configuration:
build_script: build_script:
- ps: if($env:PLATFORM -eq "x64" -And $GENERATOR -eq 'Visual Studio 9 2008') { .\appveyor-patch.ps1 }
- ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" } - ps: if($env:PLATFORM -eq "x64") { $env:CMAKE_GEN_SUFFIX=" Win64" }
- cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% -DENABLE_CJSON_TEST=%ENABLE_CJSON_TEST% -H. -Bbuild - cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% -DENABLE_CJSON_TEST=%ENABLE_CJSON_TEST% -H. -Bbuild
- cmake --build build --config "%CONFIGURATION%" - cmake --build build --config "%CONFIGURATION%"

Loading…
Cancel
Save