go back to multi build strategy

This commit is contained in:
Daylin Morgan 2024-01-30 13:40:15 -06:00
parent 27e0a80966
commit d706f9be14
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 13 additions and 11 deletions

View File

@ -11,6 +11,8 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
- matrix: ["othalan", "mannaz", "algiz"]
steps: steps:
# free up some space # free up some space
- run: sudo rm -rf /opt& - run: sudo rm -rf /opt&
@ -25,15 +27,15 @@ jobs:
with: with:
name: daylin name: daylin
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build all flake outputs # - name: Build all flake outputs
run: |
cachix watch-exec daylin -- \
nix build github:srid/devour-flake \
-L --no-link --print-out-paths \
--override-input flake .
# - name: Build
# 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: Build
run: |
for host in ${HOSTS[@]}
do
nix run . --accept-flake-config -- cache --host $host --flake .
done