Apache DataFusion SQL Query Engine
ARROW-841: [Python] Add pyarrow build to Appveyor
Wes McKinneyc8553c093f0b
diff --git a/appveyor.yml b/appveyor.ymlindex b8c26e6e50..f2954a92e9 100644--- a/appveyor.yml+++ b/appveyor.yml@@ -21,17 +21,15 @@ os: Visual Studio 2015environment:matrix:- GENERATOR: Visual Studio 14 2015 Win64- # - GENERATOR: Visual Studio 14 2015+ PYTHON: "3.5"+ ARCH: "64"MSVC_DEFAULT_OPTIONS: ONBOOST_ROOT: C:\Libraries\boost_1_63_0BOOST_LIBRARYDIR: C:\Libraries\boost_1_63_0\lib64-msvc-14.0-build_script:- - cd cpp- - mkdir build- - cd build- - cmake -G "%GENERATOR%" -DARROW_CXXFLAGS="/WX" -DARROW_BOOST_USE_SHARED=OFF -DCMAKE_BUILD_TYPE=Release ..- - cmake --build . --config Release+init:+ - set MINICONDA=C:\Miniconda35-x64+ - set PATH=%MINICONDA%;%MINICONDA%/Scripts;%MINICONDA%/Library/bin;%PATH%-# test_script:- - ctest -VV+build_script:+ - call ci\msvc-build.batdiff --git a/ci/msvc-build.bat b/ci/msvc-build.batnew file mode 100644index 0000000000..de428b6e46--- /dev/null+++ b/ci/msvc-build.bat@@ -0,0 +1,52 @@+@rem Licensed to the Apache Software Foundation (ASF) under one+@rem or more contributor license agreements. See the NOTICE file+@rem distributed with this work for additional information+@rem regarding copyright ownership. The ASF licenses this file+@rem to you under the Apache License, Version 2.0 (the+@rem "License"); you may not use this file except in compliance+@rem with the License. You may obtain a copy of the License at+@rem+@rem http://www.apache.org/licenses/LICENSE-2.0+@rem+@rem Unless required by applicable law or agreed to in writing,+@rem software distributed under the License is distributed on an+@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+@rem KIND, either express or implied. See the License for the+@rem specific language governing permissions and limitations+@rem under the License.++@echo on++set CONDA_ENV=C:\arrow-conda-env+set ARROW_HOME=C:\arrow-install++conda create -p %CONDA_ENV% -q -y python=%PYTHON% ^+ six pytest setuptools numpy pandas cython+call activate %CONDA_ENV%++@rem Build and test Arrow C++ libraries++cd cpp+mkdir build+cd build+cmake -G "%GENERATOR%" ^+ -DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^+ -DARROW_BOOST_USE_SHARED=OFF ^+ -DCMAKE_BUILD_TYPE=Release ^+ -DARROW_CXXFLAGS="/WX" ^+ -DARROW_PYTHON=on ^+ .. || exit /B+cmake --build . --target INSTALL --config Release || exit /B++@rem Needed so python-test.exe works+set PYTHONPATH=%CONDA_ENV%\Lib;%CONDA_ENV%\Lib\site-packages;%CONDA_ENV%\python35.zip;%CONDA_ENV%\DLLs;%CONDA_ENV%++ctest -VV || exit /B++@rem Build and import pyarrow++set PATH=%ARROW_HOME%\bin;%PATH%++cd ..\..\python+python setup.py build_ext --inplace || exit /B+python -c "import pyarrow" || exit /B