From 996dd4c2eb56a7400c156a950f684acdf1aa0476 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Thu, 7 Nov 2019 10:46:37 +0100 Subject: [PATCH] add appveyor build matrix with debug build [skip ci] --- appveyor.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 02c343057..149d234e4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,12 +10,18 @@ image: - Visual Studio 2019 - Visual Studio 2017 - Visual Studio 2015 +environment: + matrix: + - CFLAGS_VAR: "CFLAGS=/Od" + - CFLAGS_VAR: "" build_script: - cmd: >- if "Visual Studio 2019"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" if "Visual Studio 2017"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 - nmake -f makefile.msvc all + nmake -f makefile.msvc all %CFLAGS_VAR% test_script: - cmd: test.exe +matrix: + fast_finish: true