=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 2a5ec13 | 2014-11-26 23:55:25 +0100 | [diff] [blame] | 1 | environment: |
| 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 |
| 16 | install: |
Andy Green | 758d97f | 2015-11-14 15:58:25 +0800 | [diff] [blame] | 17 | - appveyor DownloadFile https://libwebsockets.org/Win32OpenSSL-1_0_2d.exe |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | a8c9a0e | 2015-06-24 18:01:14 +0200 | [diff] [blame] | 18 | - Win32OpenSSL-1_0_2d.exe /silent /verysilent /sp- /suppressmsgboxes |
Joakim Soderberg | 2efac17 | 2015-04-21 16:26:44 +0200 | [diff] [blame] | 19 | - cinst -y nsis |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | a8c9a0e | 2015-06-24 18:01:14 +0200 | [diff] [blame] | 20 | - SET PATH=C:\Program Files\NSIS\;C:\Program Files (x86)\NSIS\;%PATH% |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 2a5ec13 | 2014-11-26 23:55:25 +0100 | [diff] [blame] | 21 | build: |
| 22 | |
| 23 | build_script: |
| 24 | - md build |
| 25 | - cd build |
Roger A. Light | 12126d7 | 2015-03-09 22:02:59 +0000 | [diff] [blame] | 26 | - cmake -DCMAKE_BUILD_TYPE=Release %CMAKE_ARGS% .. |
| 27 | - cmake --build . --config Release |
| 28 | |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 12f557b | 2015-06-25 13:57:16 +0200 | [diff] [blame] | 29 | # 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. Light | 12126d7 | 2015-03-09 22:02:59 +0000 | [diff] [blame] | 34 | |
| 35 | |
| 36 | artifacts: |
| 37 | - name: Installer |
| 38 | path: 'win32port/libwebsockets-*-install.exe' |
| 39 | |
=?UTF-8?q?Joakim=20S=C3=B6derberg?= | 2a5ec13 | 2014-11-26 23:55:25 +0100 | [diff] [blame] | 40 | cache: |
| 41 | - C:\OpenSSL-Win32 |
| 42 | |
Roger A. Light | 1677ca5 | 2015-03-10 16:53:16 +0000 | [diff] [blame] | 43 | matrix: |
| 44 | fast_finish: true |