2015-03-03 10:15:50 +00:00
|
|
|
environment:
|
|
|
|
CMAKE_ARGS: ""
|
2015-03-03 14:38:59 +00:00
|
|
|
NSIS_ROOT: C:\nsis
|
2015-03-03 10:15:50 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- appveyor DownloadFile http://slproweb.com/download/Win32OpenSSL-1_0_2.exe
|
|
|
|
- Win32OpenSSL-1_0_2.exe /silent /verysilent /sp- /suppressmsgboxes
|
|
|
|
- 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-03-03 14:38:59 +00:00
|
|
|
- appveyor DownloadFile "http://sunet.dl.sourceforge.net/project/nsis/NSIS 2/2.46/nsis-2.46-setup.exe" -FileName nsissetup.exe
|
|
|
|
- nsissetup /S /D=%NSIS_ROOT%
|
2015-03-03 10:15:50 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- md build
|
|
|
|
- cd build
|
|
|
|
- cmake %CMAKE_ARGS% ..
|
2015-03-03 10:17:31 +00:00
|
|
|
- cmake --build .
|
2015-03-03 10:15:50 +00:00
|
|
|
|
2015-03-03 14:38:59 +00:00
|
|
|
after_build:
|
|
|
|
- '%NSIS_ROOT%\makensis installer/mosquitto.nsi'
|
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- name: Installer
|
|
|
|
path: 'mosquitto-*-install-win32.exe'
|
|
|
|
#- 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
|
|
|
|
|