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