mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-09 20:33:15 -06:00
add matrix for update
This commit is contained in:
parent
a4fda47388
commit
830d27389c
1 changed files with 11 additions and 3 deletions
14
.github/workflows/update.yml
vendored
14
.github/workflows/update.yml
vendored
|
@ -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:
|
||||||
|
hosts:
|
||||||
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue