mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
use devour flake to build all
This commit is contained in:
parent
8975830af7
commit
779df63927
1 changed files with 11 additions and 12 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue