3 ms·
ultimately, folks need to stop writing massive YAML files to define their builds. CI should schedule jobs, your build system should define them. my workflow fil
by nerdypepper 2mo ago
ultimately, folks need to stop writing massive YAML files to define their builds. CI should schedule jobs, your build system should define them. my workflow files look like this:
steps:
name: Do the thing
run: nix build .#
at any point, if my CI is down or i need to switch or i need to run builds locally, i can do so trivially.
- Norfair 2mo agoNixCI does this but with a built-in cache ;) https://nix-ci.com/comparison/github-actions https://nix-ci.com/comparison/github-actions
- jon_adler 2mo agoMy CI runner just calls make targets, that can easily be run locally if needed.
- maccard 2mo agoThis is all well and good until you need a cache, or credentials, or to pass data between steps, or to parallelize across runners.