Bladeren bron

removed x64 Visual Studio 9 2008 build

simon-p-r 8 jaren geleden
bovenliggende
commit
2caa884f6a
3 gewijzigde bestanden met toevoegingen van 4 en 14 verwijderingen
  1. 1 0
      .gitignore
  2. 0 13
      appveyor-patch.ps1
  3. 3 1
      appveyor.yml

+ 1 - 0
.gitignore

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

+ 0 - 13
appveyor-patch.ps1

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

+ 3 - 1
appveyor.yml

@@ -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%"