Continuous Integration (CI): Difference between revisions
imported>Profpatsch Add basic CI page. Add nix-build-uncached section. |
imported>Mic92 add buildkite + install-nix-action |
||
Line 18: | Line 18: | ||
See [[Nix_on_Travis]] article | See [[Nix_on_Travis]] article | ||
=== Github actions === | |||
See [https://github.com/cachix/install-nix-action install-nix-action] to install nix in Linux/macOS actions. | |||
There is also [https://github.com/cachix/cachix-action one action] to setup [https://cachix.org/ cachix], a hosted binary cache. | |||
=== Build kite === | |||
NixOS comes with a module to run [[https://buildkite.com build-kite]] agents: | |||
<syntaxHighlight lang=nix> | |||
{ | |||
services.buildkite-agents.builder = { | |||
enable = true; | |||
# store a token provided in the buildkite webinterface in the `Agents` tab under `Agents token` | |||
tokenPath = "/path/to/token"; | |||
privateSshKeyPath = "/path/to/ssh/key; | |||
}; | |||
} | |||
</syntaxHighlight> | |||
[https://nixos.org/nixos/options.html#services.buildkite Further NixOS options] |