From d4e0e0a5b4c351c95c20692150b15fffef50632a Mon Sep 17 00:00:00 2001 From: Vadim Grigoruk Date: Tue, 25 Sep 2018 18:02:55 +0300 Subject: [PATCH] appceyor MinGW build --- appveyor.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 070e3c6..1bdf899 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,22 +1,14 @@ version: '{build}' image: Visual Studio 2017 -configuration: -- Release - -platform: -- x64 - environment: matrix: - - arch: Win64 + - COMPILER: MSVC15 + - COMPILER: MinGW-w64 install: git submodule update --init --recursive -before_build: - cmd: cmake -G "Visual Studio 15 2017 Win64" - -build: - project: c:\projects\tic-80\TIC-80.sln - verbosity: minimal - parallel: true +build_script: + - if [%COMPILER%]==[MSVC15] cmake -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=MinSizeRel . + - if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel . + - cmake --build .