Skip to content

Commit

Permalink
Attempt to create installer and add as artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Mar 3, 2015
1 parent 741639a commit a2707a9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
environment:
CMAKE_ARGS: ""
NSIS_ROOT: C:\nsis

install:
- appveyor DownloadFile http:https://slproweb.com/download/Win32OpenSSL-1_0_2.exe
- Win32OpenSSL-1_0_2.exe /silent /verysilent /sp- /suppressmsgboxes
- appveyor DownloadFile ftp:https://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip
- md C:\pthreads
- 7z -y x pthreads-w32-2-9-1-release.zip -oC:\pthreads
- appveyor DownloadFile "http:https://sunet.dl.sourceforge.net/project/nsis/NSIS 2/2.46/nsis-2.46-setup.exe" -FileName nsissetup.exe
- nsissetup /S /D=%NSIS_ROOT%

build:

Expand All @@ -16,6 +19,20 @@ build_script:
- cmake %CMAKE_ARGS% ..
- cmake --build .

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

cache:
- C:\OpenSSL-Win32
- C:\pthreads
Expand Down

0 comments on commit a2707a9

Please sign in to comment.