10 Commits

Author SHA1 Message Date
Azat Khuzhin
6fcfa25d82 appveyor/autotools: link with openssl by passing LDFLAGS/CFLAGS
This never works, hence green tests in production. and now it works:
https://ci.appveyor.com/project/azat/libevent/build/2.1.5.100/job/eib4xqfb7d3ruo16
(look by /"evthread_win32.c")
2016-08-09 15:47:58 +03:00
Azat Khuzhin
4634b85bf2 appveyor: image already had openssl installed
Fixes messages like "Version mismatch for openssl: compiled with 1000201f but
running with 1000208f" [1].

According to next link:
  http://help.appveyor.com/discussions/questions/1132-openssl-installation-issues
Refs: appveyor/ci#576
[1]: https://ci.appveyor.com/project/azat/libevent/build/2.1.5.95/job/dcy9cfoj3rfo4gdh
2016-08-09 15:47:58 +03:00
Azat Khuzhin
e9acc441b7 appveyor: check -DUNICODE -D_UNICODE according to ReleaseChecklist (cmake only)
Link: https://github.com/libevent/libevent/wiki/ReleaseChecklist
2016-08-09 15:47:58 +03:00
Azat Khuzhin
1810857425 appveyor: ignore failure of mingw-get
Since according to doc [1], appveyour will fail the build on every powershell's
exception:
  "PowerShell script is considered successful if it finishes without exception."

[1]: https://www.appveyor.com/docs/build-configuration#powershell
2016-08-09 15:47:58 +03:00
Azat Khuzhin
ac90133c16 appveyor: drop shallow_clone, since we use tags for detecting version in cmake 2016-08-09 15:47:58 +03:00
Azat Khuzhin
8f95015543 appveyor: support cmake & autotools using build matrix (like travis-ci has)
This will allow us to avoid possible compilation regressions, and also some
failures in different environments (for example because of different
sizeof(size_t)).

For example we can avoid next issues:
- #361
- #314
- #311
(And I'm pretty sure that this is not complete list)

And of course it reduce job for maintainers.
But it also have one downside, appveyor doesn't have such concurrency like
travis-ci, so it can take a while to finish the whole build, but we can resolve
this later, or reduce build matrix to only one for autotools and one for cmake.

Fixes: #364
2016-08-09 15:47:57 +03:00
Mark Ellzey
1cc2e2953e Use autotools for appveyor until cmake is fixed. 2015-05-12 04:37:42 -04:00
Mark Ellzey
107d565df4 Fix the link for appveyor OpenSSL installer (WIN32)
* change and move the openssl self installer off to a site we own
   - the old link was 404, probably due to being replaced with a newer
     non-vuln version. But since we are only using this installer to
     auto-build with on appveyor (not as a release), then having a file
     we don't change and own seems to be a better solution.
* reduce verbosity
2015-05-11 13:55:32 -04:00
Joakim Söderberg
26164a560d Forgot to install OpenSSL for appveyor 2015-02-05 20:56:10 +01:00
Joakim Söderberg
5f89c37e00 Add support for appveyor.com windows CI
This does the same thing as Travis-CI but for windows.

@nmathewson
Go to: https://ci.appveyor.com/login -> Login using Github
Click **+New Project** -> Choose **Github** to the left -> Find **Libevent** in the list and click **Add**
2015-02-05 19:24:19 +01:00