diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-03-26 13:35:31 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-03-27 09:48:53 +0100 |
commit | f4a65945257920ed99e681a7934bb3e7044166e1 (patch) | |
tree | d2843ea96177c5c66e9d040d193a3b2210322600 | |
parent | 9c8e995f4a7ebe045d81f83918977db9666b9d7e (diff) |
appveyor: Build tags with RelWithDebInfo build type.
-rw-r--r-- | appveyor.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml index d1f1b1be..bf2ac03d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,18 +22,15 @@ environment: matrix: fast_finish: true -configuration: Debug - before_build: - set Path=%QT5%\bin;%Path% - cmake -H. -Bbuild -G "%CMAKE_GENERATOR%" "-DCMAKE_PREFIX_PATH=%QT5%" -DENABLE_GUI=ON -build: - project: build\apitrace.sln - verbosity: minimal +build_script: +- if "%APPVEYOR_REPO_TAG%"=="true" (set CONFIGURATION=RelWithDebInfo) else (set CONFIGURATION=Debug) +- cmake --build build --config "%CONFIGURATION%" -- %MSBUILD_FLAGS% after_build: -- cmake --build build --config "%CONFIGURATION%" -- %MSBUILD_FLAGS% - cmake --build build --config "%CONFIGURATION%" --target check -- %MSBUILD_FLAGS% - cmake --build build --config "%CONFIGURATION%" --target package -- %MSBUILD_FLAGS% |