srid / nixci

Define and build CI for Nix projects anywhere; superceded by Omnix https://omnix.page/om/ci.html
GNU Affero General Public License v3.0
108 stars 5 forks source link

Generate Github Matrix JSON #41

Closed srid closed 5 months ago

srid commented 6 months ago

cf. https://www.kenmuse.com/blog/dynamic-build-matrices-in-github-actions/

We want a nixci --dump-build-matrix command to get the system-&-subflake matrix as JSON, which can then be imported into Github Actions matrix for building them in parallel.

This might need some work in devour-flake as well (to get back the outputs indexed by system).

Doing this will positively impact the CI report on Github Actions.


Once done, test it in https://github.com/srid/nixos-flake and https://github.com/srid/emanote