From 1d67e8fd0cccef467f4e87f9931896652185dc72 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Fri, 16 Jan 2015 21:28:25 +0000 Subject: [PATCH] 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. --- appveyor.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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: