Build matrix configuration


My coworker Zak has made a build matrix example here:

We’re looking into ways to make the UX for this better, but this should get you started in the mean time.

Here is a refactored version that generates the equivalent json data structure. It uses yaml anchors/aliases (& and *) and map-merging (<<:) to DRY up the file. This reduces this particular example from 49 lines to 39 lines.

Build matrix