Libtorrent: Use GitHub Actions for Windows build

Created on 26 Sep 2020  路  7Comments  路  Source: arvidn/libtorrent

libtorrent branch: master
platform: windows

Appveyor is just too slow because its a single job at a time. GitHub Actions should improve the waiting time of PR merges.

All 7 comments

yes, it seems github actions could be quite helpful. I think travis supports windows these days too. It just takes a lot of time to get a new environment set up (at least to fully replace all the things appveyor does today).

@arvidn

I don't know about the rest, but if all you're doing with CMake in Appveyor is just the the build, I can contribute something like what I recently did for qBIttorrent: https://github.com/qbittorrent/qBittorrent/blob/2bfaa8229a8f3ed00eabaf60f7039c7be4d4de25/.github/workflows/ci.yaml#L83. It's easy with vcpkg. The rest (b2 builds and test runs) could be added later.

The results have been quite good so far: https://github.com/qbittorrent/qBittorrent/actions. Apart from the very first run which was of course uncached, all Windows builds tend to finish in under 15 minutes, with the occasional excursion a bit over that, and the very infrequent excursion up to 30-40 minutes. All of this while multiple builds can run at the same time easily. In contrast, sometimes I've waited 6+ hours for libtorrent builds on Appveyor to even start.

please do!

@FranciscoPombal are you looking at this? I might make a try otherwise - I did the same for PicoTorrent the other day much based on the suggestion from this thread :)

@vktr Yeah I should be able to post something either to day or during the weekend, got a bit delayed, sorry about that.

Awesome :) No stress from me, just didn't want to start anything that is being looked at

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dessalines picture dessalines  路  7Comments

fastesol picture fastesol  路  17Comments

ctlaltdefeat picture ctlaltdefeat  路  15Comments

peter279k picture peter279k  路  8Comments

smell-of-rain picture smell-of-rain  路  9Comments