32 Commits

Author SHA1 Message Date
Azat Khuzhin
5b723a66b4
Bump version to 2.1.11-stable (with ABI breakage) 2019-08-02 00:26:20 +03:00
Azat Khuzhin
f5bfd721d1
Bump version to 2.1.10-stable everywhere 2019-05-25 23:45:37 +03:00
Azat Khuzhin
17eee0e47d
appveyor: check intermediate powershell commands exit codes and terminate early
Otherwise build errors will be ignored, i.e. if build fails but regress
binary exists (copied from artifacts) it will be runned instead of newly
compiled.

(cherry picked from commit 93a925474d22b94e5ad75a48656033e55efe9055)
2019-05-25 21:25:11 +03:00
Azat Khuzhin
ca76ebb0d6
Ignore bitrise branches for travis-ci/appvyeor [ci skip]
(cherry picked from commit b34192bae6f511b91a2fc01409676b2df2fd8a31)
2019-05-25 21:25:09 +03:00
Azat Khuzhin
900f5c4503
Bump version to 2.1.9-beta everywhere 2019-02-10 16:22:56 +03:00
Azat Khuzhin
fa193d128f
appveyor: disable verbosity of MSBuild
(cherry picked from commit e2e82241d182807b154dad5c546d9ef4581eb489)
2019-02-02 15:18:07 +03:00
Azat Khuzhin
aee0fcd57c
Merge branch 'win64-fixes'
* win64-fixes:
  test/et/et: fix it by using appropriate type for the SOCKET (evutil_socket_t)
  test/et/et: verify return codes
  appveyor: switch to new VS/MinGW and x64

(cherry picked from commit 97a3e7f5802ce1baa3c959905e312cab2bebf4bf)
2019-02-02 15:18:07 +03:00
Azat Khuzhin
3ebd7edd02
Add OS-specific exclude patterns of the branch names for the CI
(cherry picked from commit f88b8946f3da988f7aa80e36681037b4f474840e)
2019-02-02 15:18:07 +03:00
Azat Khuzhin
61fb055a43
appveyor: cover static libs for MSVC
(cherry picked from commit 51945fd9399d2392010456a6d2c49815bc8f938e)
2019-02-02 15:18:06 +03:00
Azat Khuzhin
d156c6085a
appveyor: enable parallel build
(cherry picked from commit 1a79fd38aa3bd34d941c4949ad3e4ba09aa8142b)
2019-02-02 15:18:05 +03:00
Azat Khuzhin
1b6ce89bd8
appveyor: skip travis patches (by commit subject/files)
(cherry picked from commit 9afe7a6c12c112a6cbc49cf1bd684781275b2579)
2019-02-02 15:18:03 +03:00
Azat Khuzhin
cb8b6f17b2
appveyor: cache build directory to reduce overall time (6x time faster)
various build checks (i.e. detecting headers/macroses/functions) takes
7 minutes (from 13 minutes in total) for cmake, which is too high.

By using cache we can reduce this to ~0.

And set APPVEYOR_SAVE_CACHE_ON_ERROR so that cmake checks will be
cached (anyway all sources will be built from scratch due to timestamp
updates while extracting from sources).

(cherry picked from commit 54fdd6bb6ebe6b0a672c79d30a712d97536500c8)
2019-02-02 15:18:03 +03:00
Azat Khuzhin
2ffa59da04
appveyor: disable verbosity
(cherry picked from commit 506189350889dd7270801f3383524eb2acbfb862)
2019-02-02 15:18:03 +03:00
Azat Khuzhin
e7292a59e8
appveyor: do not run on branches that has "travis" in it's name
(cherry picked from commit 1503a9a1a6aea641784fa7aae83ad00e57e35431)
2019-02-02 15:18:03 +03:00
Azat Khuzhin
5e97b6e6f7
appveyor: reconfigure tests with allow_failure and fast_finish
(cherry picked from commit e17e1ee91d292e8a1c7b6ac9e76dd29906d517dc)
2019-02-02 15:18:02 +03:00
Azat Khuzhin
6e81eaf235
appveyor: add all build tree into artifacts in case of failure
This will help in investigations of win32 failures...

P.S. looks like there is no better way, since
"artifacts.*.publish_on_failure" hadn't been implemented yet (while was
requiested in 2015).

(cherry picked from commit 29cc8386a2f7911eaa9336692a2c5544d8b4734f)
2019-02-02 15:17:58 +03:00
Azat Khuzhin
9bcfcbda95
appveyor: disable almost all configurations (except autotools/cmake basic)
Since we have FREE plan, we have a lot of limits on our builds, so let's
reduce their amount to make them run/start faster (I hope).

(cherry picked from commit bdd531288affe9fa46184bb9b492defbcf379c63)
2019-02-02 15:17:58 +03:00
Azat Khuzhin
c785e1dbad
appveyor: remove -DEVENT__ENABLE_VERBOSE_DEBUG=ON build
See-also: c199df7bc78824ff579ff34c5f9f922034e8fa31 ("travis-ci: remove
-DEVENT__ENABLE_VERBOSE_DEBUG=ON (too much useless logs)")

(cherry picked from commit e01b993703f840a030e9b1cdcdc9b3fd448c77b2)
2019-02-02 15:13:49 +03:00
Azat Khuzhin
9b63b5d410 Bump version to 2.1.8-stable everywhere
P.S. in referenced commit I made a mistake and instead of *-rc* I wrote
*-beta*.

See-also: f4489b8323cda0bf8eed7c1353911a852d7a947c ("Bump version to
2.1.7-beta everywhere")
2017-01-26 02:36:00 +03:00
Azat Khuzhin
108b5fef41 Run tests in parallel (they are lightweight), on CI and vagrant boxes
By default 20 parllel jobs, but one caveat for travis-ci, osx boxes
there slower and have less resources then linux (discovered during
testing), so limit number of parallel jobs to 4 there, and also install
travis_wait, so that travis-ci will not fail the build when there is no
output for 10 minutes, since for osx boxes it is very likely.

Refs: travis-ci/travis-ci@7202
2017-01-22 03:22:27 +03:00
Azat Khuzhin
f4489b8323 Bump version to 2.1.7-beta everywhere
- cmake basic
- cmake detecting from git -- event_fuzzy_version_from_git()
- autotools
- win32
- appveyor
2016-11-04 23:05:20 +03:00
Azat Khuzhin
51019e9460 Bump version to 2.1.6-beta everywhere
- cmake basic
- cmake detecting from git -- event_fuzzy_version_from_git()
- autotools
- win32
- appveyor
2016-08-27 01:28:36 +03:00
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