Compare commits

...

1 Commits

Author SHA1 Message Date
49f8276ab7 ci: Fix per-job build
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled
2024-11-26 21:33:54 +00:00

View File

@ -33,6 +33,7 @@ jobs:
run: | run: |
nix eval --json --apply "builtins.attrNames" .#ci.x86_64-linux | jq -cr '.[]' | while read job; do nix eval --json --apply "builtins.attrNames" .#ci.x86_64-linux | jq -cr '.[]' | while read job; do
echo "Building $job" echo "Building $job"
nix build --no-link .#ci.x86_64-linux."$job" --json
path="$(nix build --no-link .#ci.x86_64-linux."$job" --json | jq -r .[0].outputs.out)" path="$(nix build --no-link .#ci.x86_64-linux."$job" --json | jq -r .[0].outputs.out)"
echo "Caching $job" echo "Caching $job"
ci/push-to-cache.sh "$path" ci/push-to-cache.sh "$path"