add matrix for update

This commit is contained in:
Daylin Morgan 2024-07-18 09:09:56 -05:00
parent a4fda47388
commit f8754b8105
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -56,6 +56,13 @@ jobs:
build-full: build-full:
needs: build-minimal needs: build-minimal
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
host:
- othalan
- algiz
- mannaz
- naudiz
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -71,9 +78,10 @@ jobs:
with: with:
purge-packages: 'true' purge-packages: 'true'
- name: Build - name: Build
run: | run: |
system_attr=$(nix run . -- output --host "othalan" --flake .) system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
nix run . \ nix run . \
-- \ -- \
build $system_attr \ build $system_attr \
@ -88,7 +96,7 @@ jobs:
- name: Build Updated - name: Build Updated
run: | run: |
system_attr=$(nix run . -- output --host "othalan" --flake .) system_attr=$(nix run . -- output --host "${{ matrix.host }}" --flake .)
nix run . \ nix run . \
-- \ -- \
build $system_attr \ build $system_attr \
@ -108,5 +116,5 @@ jobs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: summary name: ${{ matrix.host }}-summary
path: summary.md path: summary.md