diff options
author | Petri Lehtinen <petri@digip.org> | 2017-04-19 20:42:49 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2017-04-19 21:04:04 +0300 |
commit | 98294c46b747b456c821abc3c7760a38178ee17e (patch) | |
tree | ce4286cc074cdb37f9a80b72f908d2d5e3c77dec | |
parent | 74028ff958ce9ded8cf58bdee3151d3df94bafc4 (diff) | |
download | jansson-98294c46b747b456c821abc3c7760a38178ee17e.zip jansson-98294c46b747b456c821abc3c7760a38178ee17e.tar.gz jansson-98294c46b747b456c821abc3c7760a38178ee17e.tar.bz2 |
appveyor: Build with MinGW and Visual Studio 2017
-rw-r--r-- | appveyor.yml | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/appveyor.yml b/appveyor.yml index 852a399..7502904 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,14 +1,21 @@ environment: matrix: - - VS: Visual Studio 9 2008 - - VS: Visual Studio 10 2010 - - VS: Visual Studio 11 2012 - - VS: Visual Studio 12 2013 - - VS: Visual Studio 14 2015 + - GEN: MinGW Makefiles + - GEN: Visual Studio 9 2008 + - GEN: Visual Studio 10 2010 + - GEN: Visual Studio 11 2012 + - GEN: Visual Studio 12 2013 + - GEN: Visual Studio 14 2015 + - GEN: Visual Studio 15 2017 -build_script: +before_build: + - set PATH=%PATH:C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;=% + - set PATH=C:\MinGW\bin;%PATH% + - echo "%PATH%" - md build - cd build - - cmake -G "%VS%" .. - - cmake --build . --config Release - - ctest --output-on-failure + - cmake -G "%GEN%" .. + +build_script: cmake --build . --config Release + +test_script: ctest --output-on-failure |