blob: 018cad53ae865369fa8f772b7df9b4c976014df9 [file] [log] [blame]
=?UTF-8?q?Joakim=20S=C3=B6derberg?=2a5ec132014-11-26 23:55:25 +01001environment:
2 matrix:
3 - LWS_METHOD: default
4
5 - LWS_METHOD: noserver
6 CMAKE_ARGS: -DLWS_WITHOUT_SERVER=ON
7
8 - LWS_METHOD: noclient
9 CMAKE_ARGS: -DLWS_WITHOUT_CLIENT=ON
10
11 - LWS_METHOD: noext
12 CMAKE_ARGS: -DLWS_WITHOUT_EXTENSIONS=ON
13
14 - LWS_METHOD: nossl
15 CMAKE_ARGS: -DLWS_WITH_SSL=OFF
16install:
Andy Green758d97f2015-11-14 15:58:25 +080017 - appveyor DownloadFile https://libwebsockets.org/Win32OpenSSL-1_0_2d.exe
=?UTF-8?q?Joakim=20S=C3=B6derberg?=a8c9a0e2015-06-24 18:01:14 +020018 - Win32OpenSSL-1_0_2d.exe /silent /verysilent /sp- /suppressmsgboxes
Joakim Soderberg2efac172015-04-21 16:26:44 +020019 - cinst -y nsis
=?UTF-8?q?Joakim=20S=C3=B6derberg?=a8c9a0e2015-06-24 18:01:14 +020020 - SET PATH=C:\Program Files\NSIS\;C:\Program Files (x86)\NSIS\;%PATH%
=?UTF-8?q?Joakim=20S=C3=B6derberg?=2a5ec132014-11-26 23:55:25 +010021build:
22
23build_script:
24 - md build
25 - cd build
Roger A. Light12126d72015-03-09 22:02:59 +000026 - cmake -DCMAKE_BUILD_TYPE=Release %CMAKE_ARGS% ..
27 - cmake --build . --config Release
28
=?UTF-8?q?Joakim=20S=C3=B6derberg?=12f557b2015-06-25 13:57:16 +020029# TODO: Keeps braking Windows build, should be rewritten using CPack properly instead...
30#after_build:
31# - cd ..
32# - cd win32port
33# - makensis -DVERSION=%APPVEYOR_BUILD_VERSION% libwebsockets.nsi
Roger A. Light12126d72015-03-09 22:02:59 +000034
35
36artifacts:
37 - name: Installer
38 path: 'win32port/libwebsockets-*-install.exe'
39
=?UTF-8?q?Joakim=20S=C3=B6derberg?=2a5ec132014-11-26 23:55:25 +010040cache:
41 - C:\OpenSSL-Win32
42
Roger A. Light1677ca52015-03-10 16:53:16 +000043matrix:
44 fast_finish: true