Skip to content

Commit

Permalink
Add garnix.io for caching and CI (#66)
Browse files Browse the repository at this point in the history
https://garnix.io/

Pros:
* Caching for free
* Evaluation of checks, packages, devShells, etc. in parallel

Cons:
* In beta and it shows
* Logs seem to come a little slow in their web UI
* When builds finish, the “such and such derivations will be fetched,
such and such derivations will be built” output is erased, even though I
just saw it there...
* Only the last 100 lines of logs are saved (is this the case for
failures too...?)
  • Loading branch information
9999years authored Aug 28, 2023
1 parent 46097e4 commit 7dd0e79
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
};
};

nixConfig = {
extra-substituters = ["https://cache.garnix.io"];
extra-trusted-substituters = ["https://cache.garnix.io"];
extra-trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
};

outputs = {
self,
nixpkgs,
Expand Down
10 changes: 10 additions & 0 deletions garnix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
# See: https://garnix.io/docs/yaml_config
builds:
include:
- devShells.x86_64-linux.default
- devShells.aarch64-darwin.default
- packages.x86_64-linux.default
- packages.aarch64-darwin.default
- 'checks.x86_64-linux.*'
- 'checks.aarch64-darwin.*'

0 comments on commit 7dd0e79

Please sign in to comment.