netcdf-c/appveyor.yml
Ward Fisher c8ad2bfdd5 Update
2018-04-25 13:24:53 -06:00

36 lines
886 B
YAML

image: Visual Studio 2017
environment:
matrix:
- TARGET_ARCH: x64
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
MINGW_INSTALL_LOCN: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1
CMAKE_GENERATOR: "Visual Studio 15 Win64"
platform:
- x64
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
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
- cmd: conda install hdf5 curl hdf4
- cmd: dir C:\
- cmd: dir %MINGW_INSTALL_LOCN%
configuration: Release
build: off
# Run a custom script.
build_script:
- cmd: mkdir build
- cmd: cd build
- cmd: cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=Release
- cmd: if errorlevel 1 exit 1
- cmd: cmake --build . --config Release --target netcdf