mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue