mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-17 17:40:35 +00:00
This is primarily using the configuration matrix facilities of GitHub actions to consolidate the overall configuration. Beyond avoiding duplication, this also allows the default and release builds to run in parallel. The checkout time is duplicated between these, but the rest of the time is nicely parallelized. This has the most dramatic effect on macOS builds. Overall, this should reduce the latency on testing from 22-28 minutes to 15-20 minutes from what I've seen which seems worthwhile. This does reduce the detail provided in the names of the different configurations. However, the Bazel build mode is preserved. That seems like the most critical pieces of information. Much of this started with me just trying to learn more about GitHub actions, but once understanding how the job matrix worked, it seemed worthwhile to send out as an actual change.