Skip to content

Apache DataFusion SQL Query Engine

ARROW-1196: [C++] Release, Debug, Toolchain, NMake Generator Appveyor…

Max Risuhin8aeba7ef68a6
diff --git a/appveyor.yml b/appveyor.yml
index 802d43bad4..f3ce5a5443 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,9 +20,23 @@ os: Visual Studio 2015
environment:
matrix:
+ - GENERATOR: NMake Makefiles
+ PYTHON: "3.5"
+ ARCH: "64"
+ CONFIGURATION: "Release"
+ - GENERATOR: Visual Studio 14 2015 Win64
+ PYTHON: "3.5"
+ ARCH: "64"
+ CONFIGURATION: "Debug"
- GENERATOR: Visual Studio 14 2015 Win64
PYTHON: "3.5"
ARCH: "64"
+ CONFIGURATION: "Release"
+ - GENERATOR: Visual Studio 14 2015 Win64
+ PYTHON: "3.5"
+ ARCH: "64"
+ CONFIGURATION: "Toolchain"
+
MSVC_DEFAULT_OPTIONS: ON
BOOST_ROOT: C:\Libraries\boost_1_63_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_63_0\lib64-msvc-14.0
@@ -30,6 +44,7 @@ environment:
init:
- set MINICONDA=C:\Miniconda35-x64
- set PATH=%MINICONDA%;%MINICONDA%/Scripts;%MINICONDA%/Library/bin;%PATH%
+ - if "%GENERATOR%"=="NMake Makefiles" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
build_script:
- git config core.symlinks true
diff --git a/ci/msvc-build.bat b/ci/msvc-build.bat
index 366fc2818f..c84d12d97d 100644
--- a/ci/msvc-build.bat
+++ b/ci/msvc-build.bat
@@ -17,18 +17,41 @@
@echo on
+if "%CONFIGURATION%" == "Debug" (
+ mkdir cpp\build-debug
+ pushd cpp\build-debug
+
+ cmake -G "%GENERATOR%" ^
+ -DARROW_BOOST_USE_SHARED=OFF ^
+ -DCMAKE_BUILD_TYPE=Debug ^
+ -DARROW_CXXFLAGS="/MP" ^
+ .. || exit /B
+
+ cmake --build . --config Debug || exit /B
+ popd
+
+ @rem Finish Debug build successfully
+ exit /B 0
+)
+
conda update --yes --quiet conda
conda create -n arrow -q -y python=%PYTHON% ^
six pytest setuptools numpy pandas cython
-conda install -n arrow -q -y -c conda-forge ^
- flatbuffers rapidjson ^
- cmake git boost-cpp thrift-cpp snappy zlib brotli gflags
+
+if "%CONFIGURATION%" == "Toolchain" (
+ conda install -n arrow -q -y -c conda-forge ^
+ flatbuffers rapidjson cmake git boost-cpp ^
+ thrift-cpp snappy zlib brotli gflags lz4-c zstd
+)
call activate arrow
+if "%CONFIGURATION%" == "Toolchain" (
+ set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
+)
+
set ARROW_HOME=%CONDA_PREFIX%\Library
-set ARROW_BUILD_TOOLCHAIN=%CONDA_PREFIX%\Library
@rem Build and test Arrow C++ libraries