mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
37 lines
910 B
YAML
37 lines
910 B
YAML
image: Visual Studio 2017
|
|
|
|
environment:
|
|
matrix:
|
|
- TARGET_ARCH: x64
|
|
CONDA_INSTALL_LOCN: C:\\Miniconda-x64
|
|
MSYS2_INSTALL_LOCN: C:\msys64
|
|
MSYS2_BIN_LOCN: C:\msys64\usr\bin
|
|
CMAKE_GENERATOR: "Visual Studio 15 Win64"
|
|
|
|
|
|
platform:
|
|
- x64
|
|
|
|
# Do not build feature branch with open Pull Requests
|
|
skip_branch_with_pr: true
|
|
|
|
install:
|
|
- cmd: set PATH=%PATH%:%MSYS2_BIN_LOCN%
|
|
- cmd: dir %MSYS2_BIN_LOCN%
|
|
- 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
|
|
|
|
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
|