The Rust Infrastructure Team is happy to announce that, as part of the evaluation we started last year , most of Rust’s CI is moving to GitHub Actions! While we don’t expect the change to have any impact on our users, the switch will considerably improve the experience for compiler contributors.
One of the major pain points for compiler contributors over the past few years has been waiting for PRs to be merged. We value having an always-green master branch, and to ensure that, we test and merge just one PR at a time, with the other approved oneswaiting in the queue. Our CI is extensive too, with 57 machines building and testing the compiler across all the platforms we support. On our previous system, each of those builders took between three to four hours to finish. Combined with testing one PR at a time, this often causes PRs to wait in the queue for days before being tested.
Making the CI setup faster is a permanent goal of the Infrastructure Team, and GitHub Actions provided us with a great opportunity to improve landing time: GitHub offered to sponsor a fully managed, private pool of 8-core VMs to run our builds on, which is a big improvement compared to the 2-core VMs we were previously using. GitHub Actions also provides most of the features we loved about Azure Pipelines while being integrated with GitHub’s permissions and UI, which made the switch even more fruitful.
As of July 22nd, all the CI builds for the rust-lang/rust repository except for macOS builds are running exclusively on GitHub Actions! We’re still running macOS builds on Azure Pipelines for the time being, as we’re waiting on GitHub to fix issue #71988 , but we hope to move them to GitHub Actions soon.
We’d like to thank GitHub for sponsoring our CI builders and Microsoft for the Azure Pipelines capacity we used over the past year.
以上所述就是小编给大家介绍的《Rust's CI is moving to GitHub Actions》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。