References:
- https://todo.sr.ht/~jonsterling/forester/79
- https://builds.sr.ht/~kentookura/job/1359702
---
.build.yaml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 .build.yaml
diff --git a/.build.yaml b/.build.yaml
new file mode 100644
index 0000000..75ea58f
--- /dev/null
+++ b/.build.yaml
@@ -0,0 +1,20 @@
+image: nixos/24.05
+secrets:
+ - d3cd871a-da6f-4ee3-94e9-fe8bc36233cc
+
+sources:
+ - https://git.sr.ht/~jonsterling/ocaml-forester
+
+environment:
+ cache: https://forester.cachix.org/
+
+tasks:
+ - setup: |
+ nix-env -iA cachix -f https://cachix.org/api/v1/install
+ nix-env -iA nixos.jq
+ cachix use forester
+ - check: |
+ cd ocaml-forester
+ nix --extra-experimental-features "nix-command flakes" build --json \
+ | jq -r '.[].outputs | to_entries[].value' \
+ | cachix push forester
--
2.46.1