2016-01-15 12:20:46 +00:00
|
|
|
os: Visual Studio 2013
|
|
|
|
|
2015-03-03 10:15:50 +00:00
|
|
|
environment:
|
2015-03-03 15:30:13 +00:00
|
|
|
CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release
|
2015-03-03 14:38:59 +00:00
|
|
|
NSIS_ROOT: C:\nsis
|
2017-05-23 15:46:41 +00:00
|
|
|
SSL_VER: 1_0_2k
|
2015-03-03 10:15:50 +00:00
|
|
|
|
2015-03-03 15:19:16 +00:00
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
|
2015-03-03 10:15:50 +00:00
|
|
|
install:
|
2015-03-29 10:41:17 +00:00
|
|
|
- appveyor DownloadFile http://slproweb.com/download/Win32OpenSSL-%SSL_VER%.exe
|
|
|
|
- Win32OpenSSL-%SSL_VER%.exe /silent /verysilent /sp- /suppressmsgboxes
|
2015-03-03 10:15:50 +00:00
|
|
|
- appveyor DownloadFile ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
|
2015-03-03 14:51:37 +00:00
|
|
|
- 7z -y x pthreads-w32-2-9-1-release.zip -oC:\pthreads\
|
2015-07-01 10:57:37 +00:00
|
|
|
- cinst -y nsis
|
2015-03-03 10:15:50 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- md build
|
|
|
|
- cd build
|
2015-03-03 16:21:19 +00:00
|
|
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
2015-03-03 17:04:58 +00:00
|
|
|
- cmake --build . --config Release
|
2015-03-03 15:00:21 +00:00
|
|
|
- cd ..
|
2015-03-03 10:15:50 +00:00
|
|
|
|
2015-03-03 14:38:59 +00:00
|
|
|
after_build:
|
2015-03-03 15:00:21 +00:00
|
|
|
- cd installer
|
2015-07-01 14:03:12 +00:00
|
|
|
- '"%PROGRAMFILES(x86)%\NSIS\makensis" mosquitto.nsi'
|
2015-03-03 14:38:59 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- name: Installer
|
2015-09-22 14:29:56 +00:00
|
|
|
path: 'installer/mosquitto-*-install-windows-x86.exe'
|
2015-03-03 14:38:59 +00:00
|
|
|
#- path: build\src\Release\mosquitto.exe
|
|
|
|
#- path: build\src\Release\mosquitto_passwd.exe
|
|
|
|
#- path: build\lib\Release\mosquitto.dll
|
|
|
|
#- path: build\lib\Release\mosquitto.lib
|
|
|
|
#- path: build\client\Release\mosquitto_pub.exe
|
|
|
|
#- path: build\client\Release\mosquitto_sub.exe
|
|
|
|
#- path: build\src\Release\mosquitto.exe
|
|
|
|
|
2015-03-03 10:15:50 +00:00
|
|
|
cache:
|
|
|
|
- C:\OpenSSL-Win32
|
|
|
|
- C:\pthreads
|
|
|
|
|