removed x64 Visual Studio 9 2008 build

This commit is contained in:
simon-p-r 2017-07-15 09:03:13 +01:00
parent c6f7f78cbb
commit 2caa884f6a
No known key found for this signature in database
GPG Key ID: 5963FF709EE3DC8A
3 changed files with 4 additions and 14 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ cJSON_test_utils
libcjson.so.*
libcjson_utils.so.*
*.orig
.vscode

View File

@ -1,13 +0,0 @@
# 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"
copy C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat

View File

@ -66,13 +66,15 @@ environment:
platform:
- x86
- x64
exclude:
- platform: x64
GENERATOR: "Visual Studio 9 2008"
configuration:
- Release
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" }
- 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%"