summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-01-16 21:28:25 +0000
committerEdward Thomson <ethomson@microsoft.com>2015-01-21 11:53:16 -0600
commit1d67e8fd0cccef467f4e87f9931896652185dc72 (patch)
tree8d9da1d9fef2cde86d623afd12e0e25af5a39611
parenta789b361004da746b02919631a333170dfe20819 (diff)
downloadlibgit2-1d67e8fd0cccef467f4e87f9931896652185dc72.tar.gz
Windows CI: use 32 and 64 bit for AppVeyor builds
Add 64 bit and always build with default calling conventions, to avoid trying to build with stdcall on amd64.
-rw-r--r--appveyor.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 5c3538556..0dcfd4dc0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -2,6 +2,12 @@ version: '{build}'
branches:
only:
- master
+environment:
+ matrix:
+ - GENERATOR: "Visual Studio 11"
+ ARCH: 32
+ - GENERATOR: "Visual Studio 11 Win64"
+ ARCH: 64
build_script:
- ps: >-
choco install cmake
@@ -12,7 +18,7 @@ build_script:
cd build
- cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON -D STDCALL=ON .. -G"Visual Studio 11"
+ cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR"
cmake --build . --config RelWithDebInfo
test_script: