use devour flake to build all

This commit is contained in:
Daylin Morgan 2024-01-28 11:09:34 -06:00
parent 8975830af7
commit 779df63927
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -7,9 +7,6 @@ on:
pull_request:
branches:
- main
env:
HOSTS: "algiz othalan mannaz"
TERM: xterm # so styx will just get on with it
jobs:
build:
@ -28,13 +25,15 @@ jobs:
with:
name: daylin
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build
- name: Build all flake outputs
run: |
for host in ${HOSTS[@]}
do
nix run ".#styx" --accept-flake-config -- cache --host:$host --flake:.
done
# - name: Push
# env:
# CACHIX_ACTIVATE_TOKEN: "${{ secrets.CACHIX_ACTIVATE_TOKEN }}"
# run: cachix push daylin ./result
cachix watch-exec daylin -- \
nix build github:srid/devour-flake \
-L --no-link --print-out-paths \
--override-input flake .
# - name: Build
# run: |
# for host in ${HOSTS[@]}
# do
# nix run ".#styx" --accept-flake-config -- cache --host:$host --flake:.
# done