Update on the GitHub Actions evaluation

栏目: IT技术 · 发布时间: 5年前

内容简介:The infrastructure team is happy to report thatOn March 20th, 2020 we mergedOnce

The infrastructure team is happy to report that the evaluation we started last year of GitHub Actions as the new CI platform for the rust-lang/rust repository is making progress!

On March 20th, 2020 we merged PR #70190 , adding the GitHub Actions configuration to the compiler repository. We’re still gating merges on the existing Azure Pipelines setup, but running the two providers side by side allows us to find bugs in the GitHub Actions configuration without impacting the work of our contributors.

Once all outstanding issues are fixed, the Infrastructure Team will make the decision to either switch to GitHub Actions or stay on Azure Pipelines. We expect the decision to happen in a couple of months.

What’s changing with GitHub Actions?

This change should have no visible effect to any user of Rust, but will greatly improve the experience of our contributors.

The main difference our contributors are going to notice is a big reduction of our CI times. In the current Azure Pipelines setup builds regularly take more than 3 hours to finish (with 60 parallel 2-core VMs), while we expect the new GitHub Actions setup to take less than half the time to finish a build, thanks to a dedicated pool of 8-core VMs GitHub generously prepared for us.

Another technical change is that we’re now running most CI builds on the rust-lang-ci/rust fork. This should only impact team members that want to get a list of all the past builds, and should be completly transparent to everyone else thanks to our integration bot @bors .

What configuration is the project using?

Our CI configuration is available at src/ci/github-actions/ci.yml . Note that our configuration is not using the standard GitHub Actions syntax, but we’re relying on a preprocessor to expand YAML anchors to ease the maintenance work on our end.

Why are you moving away from Azure Pipelines?

We're happy with Azure Pipelines as a product, but both Microsoft and GitHub asked us to try GitHub Actions as it's more closely integrated into the GitHub workflow we already use. After we used it for a while in other repositories we were satisfied enough to start evaluating a migration for rust-lang/rust .


以上所述就是小编给大家介绍的《Update on the GitHub Actions evaluation》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

API Design for C++

API Design for C++

Martin Reddy / Morgan Kaufmann / 2011-2-18 / USD 59.95

The design of application programming interfaces can affect the behavior, capabilities, stability, and ease of use of end-user applications. With this book, you will learn how to design a good API for......一起来看看 《API Design for C++》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换