12 Commits

Author SHA1 Message Date
Igor Klemenski
097ff9a433 Fix windows pipeline (by updating vcpkg version to latest)
The Windows CI is failing at the prepare vcpkg step while installing zlib
Changing the vcpkg commit hash to point to latest release
https://github.com/microsoft/vcpkg/releases/tag/2022.03.10 as opposed to
sometime in 2019 to see if that fixes it.
2022-04-07 08:27:56 +03:00
Azat Khuzhin
3b9c7dd6d6 ci: remove deprecated windows-2016 image
Refs: https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022
2021-11-30 22:37:32 +03:00
Azat Khuzhin
39dcd52b94 ci: split build and test into separate jobs 2021-09-19 09:21:43 +03:00
Azat Khuzhin
aba6548c53 Switch to lukka/run-vcpkg@v7 and update vcpkgGitCommitId
Let's see if it uses set-env or not [1]:

    Run lukka/run-vcpkg@v2
    Restore vcpkg and its artifacts from cache
    Set output env vars
      Error: Unable to process command '::set-env name=RUNVCPKG_VCPKG_ROOT::D:\a\libevent\vcpkg' successfully.
      Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

  [1]: https://github.com/libevent/libevent/runs/2172680596?check_suite_focus=true#step:4:24

And this one [2]:

    error: could not open file /var/cache/pacman/pkg/libzstd-1.5.0-1-x86_64.pkg.tar.zst: Child process exited with status 127
    error: could not open file /var/cache/pacman/pkg/zstd-1.5.0-1-x86_64.pkg.tar.zst: Child process exited with status 127
    error: could not open file /var/cache/pacman/pkg/pacman-5.2.2-23-x86_64.pkg.tar.zst: Child process exited with status 127
    error: failed to commit transaction (cannot open package file)

  [2]: https://github.com/libevent/libevent/pull/1168/checks?check_run_id=2706159518#step:4:367
2021-05-31 10:36:08 +03:00
Azat Khuzhin
a7d3cd403f Add build w/o any SSL support (i.e. w/o openssl and mbedtls)
This pure build w/o SSL has been removed in mbedtls PR - #1028
2020-09-14 21:30:02 +03:00
yuangongji
92b9109ef8 fix CI: Install vcpkg through the source code to temporarily solve the windows CI problem 2020-08-05 12:00:05 +08:00
okhowang(王沛文)
dad699cc04 add mbedtls to CI 2020-07-22 22:53:23 +03:00
yuangongji
c753ae876e CI: catch failures and retry 2020-05-28 20:10:47 +08:00
Azat Khuzhin
c19ebffb21 ci: change cache key for windows/mingw
Should fix the following current failures:
- 2020-05-04T22:32:02.9490248Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB6006: "cmd.exe" exited with code 3. [D:\a\libevent\libevent\build\regress.vcxproj]
- cmake : /usr/bin/sh: /C/hostedtoolcache/windows/Python/3.7.6/x64/python.exe: No such file or directory

P.S. I guess python has another path, but on my fork it is the same and
it passes.
2020-05-05 15:01:25 +03:00
Azat Khuzhin
072dfacfeb Do not run CI if message contains "ci skip"
https://github.com/marketplace/actions/skip-based-on-commit-message
2020-05-05 13:57:15 +03:00
yuangongji
6dea151494 github workflows: ignore previous cache
modify the cache key to ignore previous cache
for the changes of configure.ac/CMakeLists.txt
to take effect.
2020-03-22 22:34:41 +08:00
yuangongji
84bb2c18e4 github actions: test and coverage 2020-01-27 01:50:13 +03:00