2018-04-25 05:40:24 +08:00
|
|
|
image: Visual Studio 2017
|
|
|
|
|
2018-04-25 01:28:22 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TARGET_ARCH: x64
|
2018-04-25 05:46:38 +08:00
|
|
|
- CONDA_INSTALL_LOCN: C:\\Miniconda-x64
|
2018-04-25 01:28:22 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
2018-04-25 05:45:00 +08:00
|
|
|
|
2018-04-25 05:59:41 +08:00
|
|
|
# Do not build feature branch with open Pull Requests
|
|
|
|
skip_branch_with_pr: true
|
|
|
|
|
2018-04-25 05:45:00 +08:00
|
|
|
install:
|
|
|
|
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
|
|
|
|
- cmd: conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
|
|
|
|
- cmd: conda update conda
|
2018-04-25 05:59:41 +08:00
|
|
|
- cmd: conda install hdf5 curl hdf4
|
2018-04-25 05:49:32 +08:00
|
|
|
- cmd: dir
|
2018-04-25 05:59:41 +08:00
|
|
|
|
|
|
|
configuration: Release
|
|
|
|
|
|
|
|
build:
|
|
|
|
parallel: true
|
|
|
|
|
|
|
|
|
|
|
|
# Run a custom script.
|
|
|
|
build_script:
|
|
|
|
- cmd: mkdir build
|
|
|
|
- cmd: cd build
|
2018-04-25 06:05:35 +08:00
|
|
|
- cmd: cmake .. -G "Visual Studio 15 Win64"
|
2018-04-25 05:59:41 +08:00
|
|
|
- cmd: cmake --build . --config Release --target netcdf
|