~jonsterling/forester-devel

Add build manifest v1 APPLIED

Kento Okura: 1
 Add build manifest

 1 files changed, 20 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~jonsterling/forester-devel/patches/55727/mbox | git am -3
Learn more about email & git

[PATCH] Add build manifest Export this patch

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