-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
platform: | ||
- x64 | ||
|
||
environment: | ||
matrix: | ||
- PY_VERSION: "2.7" | ||
VC_VERSION: "11" | ||
- PY_VERSION: "3.5" | ||
VC_VERSION: "14" | ||
|
||
build_script: | ||
- set PATH=C:\\Miniconda3-x64\\Scripts;%PATH% | ||
- conda create -q --yes -n python3 python=3.5 jpeg libpng libtiff hdf5 numpy nose | ||
- activate python3 | ||
- conda install -q --yes -c ukoethe --override-channels visual-studio=14.0 fftw boost | ||
- if "%PY_VERSION%" == "2.7" set PATH=C:\\Miniconda-x64\\Scripts;%PATH% | ||
- if "%PY_VERSION%" == "3.5" set PATH=C:\\Miniconda3-x64\\Scripts;%PATH% | ||
- if "%PY_VERSION%" == "2.7" conda create -q --yes -n python -c ukoethe --override-channels visual-studio=%VC_VERSION%.0 python=%PY_VERSION% jpeg libpng libtiff hdf5 fftw boost numpy nose | ||
- if "%PY_VERSION%" == "3.5" conda create -q --yes -n python python=%PY_VERSION% jpeg libpng libtiff hdf5 numpy nose | ||
- activate python | ||
- if "%PY_VERSION%" == "3.5" conda install -q --yes -c ukoethe --override-channels visual-studio=%VC_VERSION%.0 fftw boost | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- mkdir build | ||
- cd build | ||
- cmake .. -G "Visual Studio 14 Win64" -DVIGRANUMPY_REQUIRED=1 -DDEPENDENCY_SEARCH_PREFIX="%CONDA_ACTIVE_ENV%/Library" | ||
- cmake .. -G "Visual Studio %VC_VERSION% Win64" -DTEST_VIGRANUMPY=1 -DDEPENDENCY_SEARCH_PREFIX="%CONDA_ACTIVE_ENV%/Library" | ||
- cmake --build . --target check --config Release |