代码拉取完成,页面将自动刷新
os: Visual Studio 2013
environment:
CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release
NSIS_ROOT: C:\nsis
SSL_VER: 1_0_2k
configuration:
- Release
install:
- appveyor DownloadFile http://slproweb.com/download/Win32OpenSSL-%SSL_VER%.exe
- Win32OpenSSL-%SSL_VER%.exe /silent /verysilent /sp- /suppressmsgboxes
- appveyor DownloadFile ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
- 7z -y x pthreads-w32-2-9-1-release.zip -oC:\pthreads\
- cinst -y nsis
build:
build_script:
- md build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- cmake --build . --config Release
- cd ..
after_build:
- cd installer
- '"%PROGRAMFILES(x86)%\NSIS\makensis" mosquitto.nsi'
artifacts:
- name: Installer
path: 'installer/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
cache:
- C:\OpenSSL-Win32
- C:\pthreads
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。