diff --git a/README.md b/README.md index 1e8ebf7422ccfafaf8c67cbac640bc8054fcbe44..b672a91d36281b6a6fe39d1d79d37683dbceb6fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/SpectrumIM/spectrum2.svg?branch=master)](https://travis-ci.org/SpectrumIM/spectrum2) +[![Build Status](https://travis-ci.org/SpectrumIM/spectrum2.svg?branch=master)](https://travis-ci.org/SpectrumIM/spectrum2) [![Build status](https://ci.appveyor.com/api/projects/status/mfcvy164ndetieim?svg=true)](https://ci.appveyor.com/project/vitalyster/libtransport) ![](http://spectrum.im/animation.gif) diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000000000000000000000000000000000..452e5d2afc3bf44da2153dfdd3379d3fb79d7c96 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +version: 1.0.{build} +image: Visual Studio 2017 +cache: c:\projects\libtransport\dist +build_script: +- cmd: >- + curl -L -O http://packages.spectrum.im/deps32.zip + + 7z x deps32.zip + + call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" + + set PATH=%PATH%;C:\projects\libtransport\deps32\bin + + set CMAKE_PREFIX_PATH=C:\projects\libtransport\deps32 + + cmake . -G "NMake Makefiles" -DENABLE_PURPLE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTS=ON -DCMAKE_INSTALL_PREFIX=dist + + nmake + + nmake install + + nmake test +artifacts: +- path: dist \ No newline at end of file