mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
- drop 2 jobs that were build-only and also run on GHA. (Saving 4 minutes) - comment out a job that's only interesting when running tests. (Saving 2 minutes) - limit three jobs to build either shared/static lib. - limit building documentation to two (old, new) jobs. - limit building tests to jobs also running them (currently none). Tests are kept being built on GHA. - limit building example to the oldest supported MSVC version. - adjust GHA setting to replace dropped AppVeyor CI combinations. To reduce CI turnaround time. AppVeyor CI jobs are sequential, and may take hours till they finish when queued up due to multiple PRs or a merge to master. One run took 45-60 minutes before this patch. After, it's about half of that. Before: ``` VS2026, OpenSSL 3, x64, Server 2019, clang-cl 2m16s VS2022, OpenSSL 3, x64, Server 2019 2m2s VS2015, OpenSSL 1.1, x86, Server 2016 4m13s VS2015, OpenSSL 1.1, x64, Server 2012 R2, Debug-logging 3m50s VS2013, OpenSSL 1.1, x64, Server 2012 R2 53s VS2013, OpenSSL 1.1, x86, Server 2012 R2, Shared-only 49s VS2013, OpenSSL 1.1, x64, Build-only, Static-only 53s VS2010, WinCNG, x64, Build-only, non-unity 48s VS2026, WinCNG, x64, Server 2019, Debug-logging 1m58s VS2022, WinCNG, ARM64, Build-only 2m VS2015, WinCNG, x64, Server 2012 R2 3m43s VS2015, WinCNG, x86, Server 2016 3m29s ``` Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/54205019 After: ``` VS2026, OpenSSL 3, x64, Server 2019, clang-cl 1m45s VS2022, OpenSSL 3, x64, Server 2019, Shared-only, docs 1m50s VS2015, OpenSSL 1.1, x86, Server 2016, Static-only 2m20s VS2015, OpenSSL 1.1, x64, Server 2012 R2, Shared-only, Debug-logging 2m15s VS2013, OpenSSL 1.1, x64, Server 2012 R2 46s VS2013, OpenSSL 1.1, x86, Server 2012 R2, Shared-only 41s VS2010, WinCNG, x64, Build-only, non-unity, examples, docs 48s VS2015, WinCNG, x64, Server 2012 R2 2m21s VS2015, WinCNG, x86, Server 2016 2m22s ``` Ref: https://ci.appveyor.com/project/libssh2org/libssh2/builds/54205461 Closes #2051