mirror of https://github.com/eclipse/paho.mqtt.c
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
version: 1.2.{build}
|
|
image: Visual Studio 2015
|
|
configuration: Debug
|
|
install:
|
|
- cmd: openssl version
|
|
|
|
- cmd: python --version
|
|
|
|
- cmd: netsh advfirewall firewall add rule name="Python 2.7" dir=in action=allow program="C:\Python27\python.exe" enable=yes
|
|
|
|
- cmd: netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
|
|
|
|
- cmd: netsh advfirewall set allprofiles state off
|
|
|
|
- ps: Start-Process python -ArgumentList 'test\mqttsas2.py'
|
|
|
|
- cmd: C:\Python36\python --version
|
|
|
|
- cmd: git clone git@github.com:eclipse/paho.mqtt.testing.git
|
|
|
|
- cmd: cd paho.mqtt.testing\interoperability
|
|
|
|
- ps: Start-Process C:\Python36\python -ArgumentList 'startbroker.py'
|
|
|
|
- cmd: cd ..
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
mkdir build.paho
|
|
|
|
cd build.paho
|
|
|
|
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
|
|
|
|
cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
|
|
|
|
nmake
|
|
|
|
ctest -T test -VV
|
|
|
|
cd ..
|
|
|
|
test:
|
|
assemblies: build/Testing/*/Test.xml
|