version: '{build}' image: Visual Studio 2017 environment: matrix: # - COMPILER: MSVC15 - COMPILER: MinGW-w64 install: - git submodule update --init --recursive - if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\bin;%PATH% - cd C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin - dir build_script: - if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_SH=CMAKE_SH-NOTFOUND . - if [%COMPILER%]==[MSVC15] cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=MinSizeRel . - cmake --build .