From 488cc49aa84794b6b1c4d9638b25a13f9f0e0a35 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 9 Oct 2018 17:58:57 +0200 Subject: [PATCH] Use env variable in AppVeyor configuration Signed-off-by: Stefan Weil --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 234b113216..caad5f8ec6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,17 +29,17 @@ before_build: build_script: - mkdir build - mkdir build\bin - - mkdir build\bin\Release + - mkdir build\bin\%CONFIGURATION% - cd build #- cmd: 'echo local_settings: > cppan.yml' #- cmd: 'echo generator: %generator% >> cppan.yml' #- cmd: 'echo use_shared_libs: true >> cppan.yml' #- cppan --build .. - cmake .. -G "Visual Studio %vs_ver%%vs_platform%" - #- cmake --build . --config Release > bin\Release\log.txt 2>&1 - - cmake --build . --config Release + #- cmake --build . --config %CONFIGURATION% > build\bin\%CONFIGURATION%\log.txt 2>&1 + - cmake --build . --config %CONFIGURATION% artifacts: - - path: build\bin\Release + - path: build\bin\%CONFIGURATION% #- path: build name: tesseract-$(APPVEYOR_BUILD_VERSION)