2018-05-18 20:57:03 +02:00
|
|
|
version: '{build}'
|
2018-05-18 20:42:34 +02:00
|
|
|
image: Visual Studio 2017
|
2018-05-18 20:56:23 +02:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2018-09-26 09:25:04 +02:00
|
|
|
# - COMPILER: MSVC15
|
2018-09-25 17:02:55 +02:00
|
|
|
- COMPILER: MinGW-w64
|
2018-05-18 20:56:23 +02:00
|
|
|
|
2018-09-26 09:15:32 +02:00
|
|
|
install:
|
|
|
|
- git submodule update --init --recursive
|
2018-09-26 09:27:35 +02:00
|
|
|
- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\bin;%PATH%
|
2018-05-18 21:04:39 +02:00
|
|
|
|
2018-09-25 17:02:55 +02:00
|
|
|
build_script:
|
2018-09-26 09:00:41 +02:00
|
|
|
- if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_SH=CMAKE_SH-NOTFOUND .
|
2018-09-26 09:15:32 +02:00
|
|
|
- if [%COMPILER%]==[MSVC15] cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=MinSizeRel .
|
2018-09-25 17:02:55 +02:00
|
|
|
- cmake --build .
|